Hmmm just heard back that you definitely can't download in csv format any more. This is a bit of a step backwards. :-(
Hi,
I've got a problem with the new datafeed system at affiliate window. Personally, I preferred the old system but that's not the problem.
I use php scripts to download feeds direct from the web via a URL. Apparently with the new feed system at Awin this is no longer possible. I've checked with the tech staff there and they confirmed you can't do this any more. To the best of my knowledge every other network that has feeds lets you do this.
So this is really a request to Awin, who I really like! To implement this feature. I've sent a ticket on this but thought it might get more attention here.
Edit: The problem I'm having is it doesn't allow for csv download, only zip or gzip.
cheers
Thanks!
Hmmm just heard back that you definitely can't download in csv format any more. This is a bit of a step backwards. :-(
Is there a problem adapting your scripts to download the gz file then write the contents to a csv file on your server?
Something along these lines
PHP Code:$gzfilename = 'yourcsvfile.gz';
$zd = gzopen($gzfilename, "r");
$contents = gzread($zd, 10000000);
gzclose($zd);
$csvfilename= 'yourcsvfile.csv';
$tempvar = fopen($csvfilename,"w");
fwrite($tempvar,$contents);
fclose($tempvar);
I have the same problem with a few of my sites. Am looking at ways to set up two separate cron jobs.
The first cron job will download and unzip the files from aw and upload the .csv file to one of my servers. The exisiting cron job (no2) which you use to download the csv direct from AW will then simply be redirected to the server you are uploading the files to in cron job 1.
Hope this makes sense.
Thanks guys, I guess I'll have to get the scripts to download the files in zip and uncompress them on the server. I understand they've done it because some feeds are HUGE! But at the same time, most feeds are actually very small and zipping them all up is a bit over the top.
Grumble grumble! :-)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks