aspose file tools*
The moose likes Beginning Java and the fly likes how do I read using a BufferReader (or else) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how do I read using a BufferReader (or else)" Watch "how do I read using a BufferReader (or else)" New topic
Author

how do I read using a BufferReader (or else)

Allen Chan
Ranch Hand

Joined: Jun 07, 2002
Posts: 64
Hi all,
I want to read a file remotely, I am using FileInputStream to open, BufferReader to read, PrintWriter to write the file locally, but BufferReader.readLine() will lose \n or \r,
So HOw do I do this read and write (essentially ftp) in JAVA? Or you could tell me any other language choice.
Thanks.
Paul Zill
Greenhorn

Joined: Jun 12, 2003
Posts: 28
by remotely what do you mean?
is the only way to access the file via FTP?
 
jQuery in Action, 2nd edition
 
subject: how do I read using a BufferReader (or else)