Welcome to WebmasterWorld Guest from 54.147.44.93

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

FTP via script from server to server

FTP php perl

     

Schoolbag

8:04 pm on Jun 3, 2003 (gmt 0)

10+ Year Member



Hi,

Does anyone know of a script (Perl or PHP) that can log into a FTP account, download a folder, and then FTP it up into another server?

Sort of like a GET and then a PUT.

thanks,

Fred

Gibble

8:05 pm on Jun 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it's linux this can be done with a bash script really really easily.

Storyteller

6:33 am on Jun 5, 2003 (gmt 0)

10+ Year Member



Schoolbag, it's VERY easy to write using Net::Ftp module from CPAN.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month