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

    Join Date
    Aug 2010
    Posts
    1
    Rep Power
    0

    How to indicate end of file in data transfer? urgent help needed


    hi i'm trying to upload a file to a ftp server.i'm facing issues in indicating end of file.

    /**************************************/
    PORT 10, 0, 0, 1, 4, 1 # 4*256+1=1025
    200 PORT command successful.
    STOR /tmp/test.txt
    ... connecting to the client ...
    150 FILE: /tmp/test.txt
    ... transmitting the file ...
    226 Transfer complete.
    /**************************************/

    in the above transaction [... transmitting the file ... ] i don't know how to how to indicate the end of file indicator and hence i'm not getting the response 226 Transfer complete. how to get it.. i need urgent help regarding this...
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2010
    Posts
    85
    Rep Power
    0
    When you check the folder and the file exist on your folder, that's mean your transfer has been succesful.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2010
    Posts
    6
    Rep Power
    0
    "226 Transfer complete" says it all.

IMN logo majestic logo threadwatch logo seochat tools logo