File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do I read using a BufferReader (or else)
 
Similar Threads
Searching for a string in a file
Passing filehandles in Java Stored Procedures
copying a file
Writing to a file in Java..?
Can I change the current position in Stream??