Notices
Reply

Thread: Automatically getting datafeed from shareasale

 
Tools Search
  #1  
Old September 8th, 2011, 02:46 PM
The affiliate formerly known as ojmoo
Join Date: January 18th, 2005
Posts: 1,275
Shareasales' ftp datafeed is different than the other networks datafeeds. The other datafeeds either make the info available through an html or ftp it directly into your site. What people (at least me) didn't know is that direct server to server ftp is usually not allowed. To get the datafeed to your site so you can treat it like the rest, use this code.

Quote:
chdir('<directory where you want the datafeed on your site>');
$foo = system('wget --ftp-user=<sas user id> --ftp-password=<sas password> ftp://datafeeds.shareasale.com/<merchant id>/<merchant id>.txt.gz');
Thanks to Snib who told me which command to use (wget)
__________________
Expert who says Moo

a.k.a. OJMOO

Cow Dance

Reply

Tools Search
Search:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically download a datafeed ? glittered Datafeeds 6 January 8th, 2006 05:02 PM
DataFeed Update Sent to ShareaSale arabian ShareASale 1 October 28th, 2004 03:21 PM


Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.