Hi all
I'm busy writing a php script that needs to copy files from one server to another. I would like the copy to be recursive like the cp -r option in linux. I can't use rsync becuase i'll have to set up a rsync server on every server that i need to use. I'm going to be doing is moving files between a variety of servers. Would it be possible to use the ftp function in php to do this ensuring the copy is recursive. I'm using redhat 9.0. I could maybe use SCP but this prompts you for a username and pasword and my script has no user interaction becuase its a server side script that runs in the background. Any suggestions!
Using ftp for recursive copying
Moderator: General Moderators
-
skunkthemonk
- Forum Newbie
- Posts: 5
- Joined: Tue Jul 15, 2003 3:44 am