Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to copy a folder using a mput in ftp on unix systems

 
Satish Kumar
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me how can i copy a folder using ftp put or mput on unix systems from a windows system.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18214
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the "help mput" command at the FTP prompt.

The actual usage will vary depending on the FTP server you are connected to (e.g. wu-ftp, vsftp, etc.), independent of the OS's of client and server. The FTP server has a command interpreter (shell) that parses your commands and takes appropriate FTP protocol actions.
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any solution to copy complete directory from Windows to UNIX. I tried with mput but it didn't work for me.
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use an FTP client which can do recursive copying. Many FTP clients (particularly the graphical ones) can. The "mput" command doesn't as standard.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18214
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Charles Lyons:
You need to use an FTP client which can do recursive copying. Many FTP clients (particularly the graphical ones) can. The "mput" command doesn't as standard.


Although you may find that there's a "recurse" command. I'd forgotten about that little detail!

Most ftp servers have a "help" command, so try that and see what options are available on the server you're working with.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic