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 2014/08/20 16:24 UTC
Read the original article Hit count: 233

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 unix

Related posts about ftp