#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Posts
    37
    Rep Power
    14

    PHP - FTP error,...


    I've seen tihs post in the past, but no answers where ever given the the problem stated. So here it goes.

    I'm using a php form to upload an image to my ftp server.
    (ftp_connect etc. etc. etc.)

    but get the same error every time, "FTPBUF 0 not found...."

    I have read the bug report here:
    http://www.php.net/bugs.php?id=11000

    but do not understand the fix for this problem. If anyone could help it would be greatly appreciated.
  2. #2
  3. phpkid ~~~~~~ :o)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Nov 2000
    Location
    NJ, USA
    Posts
    2,534
    Rep Power
    17

    Exclamation hm..


    what this error means that,

    php is unable to find out the ip of the server.

    fine...this i m talking regard to example there, coz u havent provided ur code.

    basically the fellow tried giving IP for the ftp server.now his ftp server was local. so ip was 127.0.0.1

    now php used gethostbyname function to get ip of 127.0.0.1 . now it already had ip directly.and thats where the gotcha was..

    anyhow i think ur code would be more helpful in solvin ur problem i can guess,

    jd
    _____________________________
    d.k.jariwala (JD)
    ~ simple thought, simple act ~
    I blog @ http://jdk.phpkid.org

IMN logo majestic logo threadwatch logo seochat tools logo