Two Laptop Bag*
The moose likes Linux / UNIX and the fly likes how to copy  a folder using a mput in ftp on unix systems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "how to copy  a folder using a mput in ftp on unix systems" Watch "how to copy  a folder using a mput in ftp on unix systems" New topic
Author

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

Satish Kumar
Ranch Hand

Joined: Oct 16, 2006
Posts: 85
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

Joined: Jun 25, 2001
Posts: 16068
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Shaan Shar
Ranch Hand

Joined: Dec 27, 2005
Posts: 1249

Is there any solution to copy complete directory from Windows to UNIX. I tried with mput but it didn't work for me.


The Best way to predict your future is to create it - Every great individual common man
Charles Lyons
Author
Ranch Hand

Joined: Mar 27, 2003
Posts: 836
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.


Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / Amazon Amazon UK )
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16068
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to copy a folder using a mput in ftp on unix systems