Hello Bruce Zhao,

Setting property Binary is not enough! You have to issue 
method/command TypeSet(Async) as well to change mode to 
binary mode. Alternatively you may forget the property and
call method TypeBinary(Async) instead which does it both,
sets property Binary to TRUE and calls method TypeSet(Async)
subsequently.

--
Arno Garrels  


> Hello everyone:
> 
> I write a FTP upload application by use TFtpClient, I tested some FTP
> Servers, it works well, but when I upload file to NcFTPd Server in
> binary mode, my files been changed, I checked file in HEX, to
> discover $0D and $0D$0A changed to $0A, I used OverbyteIcsFtpTst.exe
> to test the NcFTPd Server, my file been changed too.
> Please tell me why, and how to resolve?
> 
> Thanks a lot!
> 
> 
> Bruce Zhao
> 2009.06.16
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to