Hello Chris, Send a "bin" command before transfert. Or look at FTP component properties, may be there is a some .SetBinary ?
CR> Does it with ASCII or binary mode, and with text and binary file. CR> I did look and indeed the #13#10 is converted into #10. ftpAcceptLF CR> doesn't matter. CR> It is Unix. Is there a TFTPClient setting to fix this, or do I simply CR> convert #10s into #13#10s? >> -----Original Message----- >> From: Dod [mailto:[EMAIL PROTECTED] >> Sent: Saturday, January 13, 2007 04:02 >> To: ICS support mailing >> Subject: Re: [twsocket] FTPClient Upload/download size incorrect? >> >> Hello, >> >> Is it text file or binary file ? >> >> If text file be sure to set binary mode, if not all >> #13#10 may be converted into #10 if destination is Unix >> system so each text line will loose 1 byte. >> >> regards. >> >> CR> Using FtpTst demo, I upload a file from c:\dir, size >> 61,184. After >> CR> upload, "size" indicates 60995. Download the same file, >> size is 61,440. >> >> CR> Anybody know what's going on? I need the sizes to be same on >> CR> upload/download. >> >> >> -- >> To unsubscribe or change your settings for TWSocket mailing >> list please goto http://www.elists.org/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be >> -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be