Results 1 to 1 of 1
  1. #1
    The affiliate formerly known as ojmoo
    Join Date
    January 18th, 2005
    Posts
    1,466
    Automatically getting datafeed from shareasale
    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.

    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



  2. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. How to automatically download a datafeed ?
    By glittered in forum Programming / Datafeeds / Tools
    Replies: 6
    Last Post: January 8th, 2006, 06:02 PM
  2. New Datafeed on Shareasale - Pinkyandcompany
    By pinkyandcompany in forum ShareASale - SAS
    Replies: 5
    Last Post: August 4th, 2005, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •