PHP Open FTP XML Feed and Save On Another Server -
i kindly know if has simple php script can run cron open xml file url have (on different server) , re-save in directory on own server.
the url ftp url username , password.
easy:
file_put_contents(file_get_contents('ftp://user:password@remoteserver.com/file.xml'), '/path/to/new.xml');
php xml cron
No comments:
Post a Comment