hi
I am trying to automate the affiliatefuture feed with little success.The feed url example
http://affiliates.affiliatefuture.com/productfiles/getFile.aspx?v=1&id=968
works if downloaded to desktop, but when it is put in an sh file it downloads a page to the server that seems to be used to redirect to the file.
What I wanted to know has anyone managed to automate these feeds and is there something I am missing, as downloading and uploading the feeds would take to long.
Thanks
Brent
hi
I have used the quotes see example below,it seems the problem is the url in affiliatefuture is a redirect to the feed and it is this page that is being downloaded to the server. I just wondered if anyone had overcome this without downloading the feed to desktop then uploading to the server.
/usr/bin/wget -O "/pathto/feeds/cxlondonboutique.txt" "http://affiliates.affiliatefuture.com/productfiles/getFile.aspx?v=1&id=968"
Thanks
Brent
Hi Brent,
I've just tested this and it's an authentication issue - the page that it downloads is AF's login page. The reason it works when you download to the desktop is because you are probably already logged in to AF in your web browser, so it has the cookies.
I'll investigate this because I thought you could download them without being logged in. It could just be a temporary glitch on their servers...
Cheers,
David.
Hello Brent,
Make sure that you are using quotes around the URL in your automation script as it could be that the URL is being misinterpreted by your .sh file. Have you seen the automation guide for more info on using wget etc. to download feeds...
http://www.pricetapestry.com/node/198
Cheers,
David.