• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

FTP copy including directories

What is the syntax to copy (put or mput I guess) all files AND directories/subdirectores AND any files in those subdirectories from one server to another?
Or, is there a better alternative than FTP?
Thx
0
tomlander
Asked:
tomlander
1 Solution
 
liddlerCommented:
No ftp doesn't.
A better alternative is to install ssh (www.openssh.org) and use scp (secure copy) with -r for recursive directories.  ssh / sftp / scp are better than standard ftp / telnet / rcp as they are encrypted.  If you down't care about security you could use rcp.

If you wany to regulary keep files on two severs in sync, your can use rsync (http://samba.anu.edu.au/rsync/) which can be tunnelled over ssh
0
 
tomlanderAuthor Commented:
Thanks, I think I'm going to use rcp...
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now