Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies


Transfer files between 2 webservers

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

Junior Member

10+ Year Member

joined:June 15, 2006
posts: 64
votes: 0

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)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Feb 22, 2009
votes: 0

Hi there pemba76,

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

Hope that helps.