Results 1 to 2 of 2
  1. #1
    ABW Ambassador
    Join Date
    January 17th, 2005
    Datafeeds via ftp and php
    How can we use php to connect to datafeeds with ftp. I am using the
    following but it doesn't work:

    // set up basic connection
    $conn_id = ftp_connect(;
    // login with username and password
    $login_result = ftp_login($conn_id, USERNAMEHERE, PASSWORDHERE);
    // check connection
    if ((!$conn_id) || (!$login_result)) {
    echo "FTP connection has failed!";
    echo "Attempted to connect to for user USERNAME";
    } else {
    echo "Connected to, for user USERNAME";

  2. #2
    ABW Ambassador
    Join Date
    January 17th, 2005
    Nevermind, I think I figured it out. On the second line, needs to be in quotes. Seems to be working now anyway.

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. FTP Datafeeds
    By Tracy in forum Google Affiliate Network - GAN
    Replies: 2
    Last Post: January 19th, 2009, 02:10 PM
  2. FTP Datafeeds
    By Nature Boy in forum ShareASale - SAS
    Replies: 4
    Last Post: July 28th, 2007, 03:12 PM
  3. FTP site for datafeeds down?
    By writerguy in forum ShareASale - SAS
    Replies: 9
    Last Post: March 11th, 2007, 09:35 AM
  4. cannot login to ftp datafeeds
    By tamalyn in forum Commission Junction - CJ
    Replies: 4
    Last Post: February 26th, 2004, 06:35 AM

Posting Permissions

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