• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FTP Folder Upload

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Greenhorn
Posts: 10
Hibernate Flex Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic