below should help
Product Feed Download Automation Guide (Linux Servers) | Price Tapestry
Hi,
Has anyone ever set up automatic downloads of XML feeds from affiliatewindow and webgains so that:
old feed is deleted from my server
new feed is downloaded
new feed is renamed to my naming convention.
If so - do you want to share some clues as to how I start!?!
I know wget would work for part of it but don't know how to do that from PHP.
Cheers
Brett
Brett
below should help
Product Feed Download Automation Guide (Linux Servers) | Price Tapestry
You can use the PHP fopen() command to read the contents of an XML file from another server. As well as opening files, it can also read from url`s as if it was working from a file. You can read the contents of the XML feed and then write it to a file on your server. You can delete an old file using the unlink() command.
PHP also has commands to enable you to connect to servers via FTP and download files that way. Have a look at:
PHP: FTP - Manual
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks