Welcome to WebmasterWorld Guest from 54.162.239.134

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP Ftp

Transfer files between 2 webservers

     
10:20 am on Oct 13, 2010 (gmt 0)

5+ Year Member



How do i transfer files between 2 remote webservers using PHP so that i can set the script to trigger at certain time using cronjob.

I want the following to happen :
Source Server : ftp.source.com
Destination Server : ftp.destination.com

File in Source Server is at root /
File to be received in Destination Server is not in root but under a folder.... /xyz

Please guide
11:27 am on Oct 13, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Hi there pemba76,

Have a read through this [uk2.php.net] from the manual, then you can see how things work.

Hope that helps.

Cheers,
MRb
 

Featured Threads

Hot Threads This Week

Hot Threads This Month