James Carman, President<br />Carman Consulting, Inc.
Originally posted by James Carman:
In text mode, you can make sure you write and read to and from the stream using the same encoding (UTF-8 for example).
Originally posted by Mousa A. Rafi:
shouldn't we get the exact copy of the file when using binary mode? We might not have a carriage return at the end but atleast we shouldn't have missed a character.
Are you certain that you have recompiled your source and you don't have any old versions in the classpath?
Originally posted by Mousa A. Rafi:
Actually the problem don't happen everytime. In my case, the last time I tried the programs: first I transferred a html file, then a java file and then another java file (all located in the same root directory). Then I checked the transferred files. The first two were ok, but the last java file was totally empty.
Originally posted by Mousa A. Rafi:
I've recompiled the source codes and as a result it works faster. I'm certain that's not the problem.
Originally posted by Joe Ess:
I tried it again. The only problem I got was when the file already existed on the client side. The server side crashes.