[twsocket] About ncFTPd server.

2009-06-16 Thread Bruce Zhao
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

Re: [twsocket] About ncFTPd server.

2009-06-16 Thread Arno Garrels
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

Re: [twsocket] About ncFTPd server.

2009-06-16 Thread Bruce Zhao
Thank you very much!! Bruce 2009/6/17 Arno Garrels arno.garr...@gmx.de 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