Hello David,
I wish the Price Tapestry script had an option for a ftp info to retrieve a datafeed on programs that do not allow url retrieval via ftp in addition the normal feed url in the Automation area
Is there a different way to obtain a feed this way via FTP with the automation?
Thank you,
Michael
Hello David,
I tried all the above to do the FTP. I normally do not have any issues. On this program for some reason it prefers a pop-up window to enter user and pass with url whether or not it is there in the FTP string either by http or ftp
I am not sure why it is not working in this occasion.
Hello David,
I tried with all the options and variations and it still wont download.
Here is the link with the user and pass that I tried. http didn't work and FTP still has a pop up and in script just errors out on php and curl.
{link saved}
Is there a way to have an individual php script to download the file via cron?
Thank you
Hi Mike,
I just tried the URL, the pop-up is a browser warning that the server is not requesting HTTP authentication. If you accept the warning the response is then:
Bad Request (Invalid Hostname)
...so it does look like there is a transient problem with that particular feed URL. I tend to wait 24 hours and then re-try when this kind of problem with feeds occurs and if still not working then contact support at the affiliate network or merchant concerned and let them know the exact URL that you are attempting to use...
Cheers,
David.
--
PriceTapestry.com
Hello David,
Thank you. I already asked them for their Web Services API XML access so I will work with that ;)
Thank you,
Michael
Hi Michael,
The Automation Tool supports both FTP and HTTP URLs, the latter can be used with or without authentication, so for example the following are all valid;
ftp://username:password@ftp.example.com/path/to/feed.xml
http://username:password@www,example.com/path/to/feed.xml
http://www,example.com/path/to/feed.xml
Some networks provide a delivery method whereby they FTP the feed to your server. In this case, you wouldn't need to to use the Automation Tool since you would set-up the details of your FTP account when configuring the feed delivery at the Affiliate Network to upload the feed directly to your /feeds/ folder.
This is why fetching and importing are separate processes in Price Tapestry, as it may not be the case that all feeds are fetched by way of Automation Tool jobs.
A final note on the Automation Tool if you were experiencing difficulties with specific FTP URLs, it's worth switching the handler over to CURL which has slightly more advanced FTP handling. To do this, edit config.advanced.php and change line 43 as follows:
$config_automationHandler = "curl";
Hope this helps!
Cheers,
David.
--
PriceTapestry.com