• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FTP Folder Upload

 
saravanan palanivel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying FTP for folder upload. In that I choose the folder from my local machine , and its need to be uploaded to the FTP Server. I tried JFileChooser but it working to select files only, not a folder. is there any way to upload a folder to Ftp Server. please help me...
 
Kapish M Joshi
Greenhorn
Posts: 10
Flex Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

There are very rare ways of doing it, better i would suggest you copy program which can copy a directory structure to FTP. Here is an example for this:




Referance: http://splashtechie.blogspot.in


Apart from this solution the other option can be like, Parsing the directory and accordingly create folders at remote FTP server using your java program and then copy the files to that folder created at FTP server. Even if it doesn't work last solution that i usually prefer is compress the folder with its content and send it to remote machine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic