Welcome to WebmasterWorld Guest from 54.163.100.58

Forum Moderators: coopster & jatar k & phranque

FTP via script from server to server

FTP php perl

   
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

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.
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

My Threads

Hot Threads This Week

Hot Threads This Month