homepage Welcome to WebmasterWorld Guest from 54.226.213.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP Ftp
Transfer files between 2 webservers
pemba76




msg:4216105
 10:20 am on Oct 13, 2010 (gmt 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

 

Matthew1980




msg:4216137
 11:27 am on Oct 13, 2010 (gmt 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.

Cheers,
MRb

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved