Forum Moderators: coopster

Message Too Old, No Replies

PHP Ftp

Transfer files between 2 webservers

         

pemba76

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

10+ 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

Matthew1980

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

WebmasterWorld Senior Member 10+ 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