Karthi Keyan

Karthi Keyan

  • 913
  • 755
  • 229.2k

Downloading File from FTP

Mar 29 2017 5:51 AM
Hi,
      I am Making a tool that download the files from ftp. i did that. but i have some doubts. for downloading the files i want to give the path with End file name. like follow.
 
ftp://xxx.xxx.xxx.21//Direcotry/Sub_Directory1/Sub_Directory2/Sub_Directory3/Filename.zip
 
But i want to download the file by giving the path like follow, 
 
ftp://xxx.xxx.xxx.21//Direcotry/Sub_Directory1/Sub_Directory2/Sub_Directory3
 
because if there were more number of files in  Sub_Directory3 , then i want to give all the file names for download. to avoid that i asking this. i think it's possible. but i don't know how to do that. can any one guide me tho that. 
 
Thanks in Advance. 

Answers (5)