Results 1 to 7 of 7
  1. #1
    Eku
    Eku is offline Senior Member
    Join Date
    May 2008
    Location
    Makati, Philippines
    Posts
    234
    Rep Power
    7

    Default Deeper Understading of FTP

    Guys I need some help (Explanation on the following).

    Java Code:
    227 Entering Passive Mode (10,2,80,151,166,16).
    150 Sending file to member TR20081030 in file TR20081030 in library TRBS.
    426-Records written to file TR20081030 in library TRBS have been truncated. Data in file may not be valid.
    227 Entering Passive Mode (10,2,80,151,166,18).
    150 Sending file to member TR20081031 in file TR20081031 in library TRBS.
    426-Records written to file TR20081031 in library TRBS have been truncated. Data in file may not be valid.
    Above is a println() of my process during FTP. Im using windows Vista and mt FTP server is IBM AS/400 and im transfering flat files. I want to know what does "426-Records written to file ..." Means. Please be gentle Im new to FTP. I had used google to find out but i still need someone to explain it to me in a much easier way.
    What i use is ASCII transfer. Sometimes data are not send and sometimes some byte are missing and sometimes it is all OK. Im trying to search why.

    Please give me some explanation or even pointers in using FTP transfer in java. Thank you very much.
    Mind only knows what lies near the heart, it alone sees the depth of the soul.

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    The number at the start of the line is a status code. The english text is the meaning of the code.

    Are you just using an FTP program? or a program that implements FTP? or do you mean you are trying to write code to do FTP in Java?

    Have you read the RFCs for FTP?

  3. #3
    Eku
    Eku is offline Senior Member
    Join Date
    May 2008
    Location
    Makati, Philippines
    Posts
    234
    Rep Power
    7

    Default

    FTR,
    actually i have this simple FTP class i used for sending FTP. Its my first time to work on FTP. And could you kindly tell me what is RFC? I will look it up later during lunch break. I'am just curious with FTP. Thank you so much ^_^
    Mind only knows what lies near the heart, it alone sees the depth of the soul.

  4. #4
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    lunch breakshall not include derivitaives of the fine meated product we know and love but shall include only the premium grade of beef and other meat products approved by idiots on the hill.

    ( joke for a friend of mine )
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  5. #5
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Quote Originally Posted by Eku View Post
    FTR,
    actually i have this simple FTP class i used for sending FTP. Its my first time to work on FTP. And could you kindly tell me what is RFC?
    Google is your friend, just google for
    File Transfer Protocol RFC

  6. #6
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Some links...

    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  7. #7
    Rajesh_J2EE is offline Member
    Join Date
    Dec 2008
    Posts
    4
    Rep Power
    0

Posting Permissions

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