Results 1 to 7 of 7
Thread: Deeper Understading of FTP
- 11-17-2008, 07:34 AM #1
Senior Member
- Join Date
- May 2008
- Location
- Makati, Philippines
- Posts
- 234
- Rep Power
- 6
Deeper Understading of FTP
Guys I need some help (Explanation on the following).
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.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.
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.
- 11-17-2008, 10:48 PM #2
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?
- 11-21-2008, 02:47 AM #3
Senior Member
- Join Date
- May 2008
- Location
- Makati, Philippines
- Posts
- 234
- Rep Power
- 6
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.
- 11-22-2008, 12:49 PM #4
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
- 11-23-2008, 12:35 AM #5
- 11-23-2008, 03:23 PM #6
Some links...
Networking Basics (The Java™ Tutorials > Custom Networking > Overview of Networking)
What Is a URL? (The Java™ Tutorials > Custom Networking > Working with URLs)
Google: java ftp samples... here one:
Java FTP Examples Source Code
Luck,
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
- 12-08-2008, 08:33 PM #7
Member
- Join Date
- Dec 2008
- Posts
- 4
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks