Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do I read using a BufferReader (or else)

 
Allen Chan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
by remotely what do you mean?
is the only way to access the file via FTP?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic