How to FTP multiple folders to another server using mput in Unix?

Posted by Mircea on Server Fault See other posts from Server Fault or by Mircea
Published on 2009-12-04T19:32:58Z Indexed on 2010/04/01 19:53 UTC
Read the original article Hit count: 334

Filed under:
|

I am logged in on a server (using Putty). from there I'm connecting using FTP to another server. I want to copy several folders from the first server to the second server using mput.

Like: ftp> mput folder1 folder2 folder3

But I get "folder1: not a plain file."...and so on. Each of these folders have subfolders, files (some binary, some not).

How can I accomplish what I want without zipping the stuff and then transfer?

Thanks.

© Server Fault or respective owner

Related posts about ftp

Related posts about unix