Re: [twsocket] FTPClient Upload/download size incorrect?
Chris Roller wrote: > Using FtpTst demo, I upload a file from c:\dir, size 61,184. After > upload, "size" indicates 60995. Download the same file, size is > 61,440. > > Anybody know what's going on? I need the sizes to be same on > upload/download. Are you using current beta downloads either V5 or V6? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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
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 upload, CR> "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
Re: [twsocket] FTPClient Upload/download size incorrect?
Does it with ASCII or binary mode, and with text and binary file. I did look and indeed the #13#10 is converted into #10. ftpAcceptLF doesn't matter. It is Unix. Is there a TFTPClient setting to fix this, or do I simply 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
Re: [twsocket] FTPClient Upload/download size incorrect?
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
Re: [twsocket] FTPClient Upload/download size incorrect?
Chris Roller wrote: > Does it with ASCII or binary mode, and with text and binary file. > I did look and indeed the #13#10 is converted into #10. ftpAcceptLF > doesn't matter. > It is Unix. Is there a TFTPClient setting to fix this, or do I simply > convert #10s into #13#10s? In order transfer data in binary mode you must set property BinaryMode to TRUE as well as call the TypeSet command to send the transfer type to the server. Same when switching back to ascii except property BinaryMode must be set to FALSE before. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > >> -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
Re: [twsocket] FTPClient Upload/download size incorrect?
Thanks, that worked. I feel silly. > -Original Message- > From: Arno Garrels [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 13, 2007 13:43 > To: ICS support mailing > Subject: Re: [twsocket] FTPClient Upload/download size incorrect? > > Chris Roller wrote: > > Does it with ASCII or binary mode, and with text and binary file. > > I did look and indeed the #13#10 is converted into #10. > ftpAcceptLF > > doesn't matter. > > It is Unix. Is there a TFTPClient setting to fix this, or > do I simply > > convert #10s into #13#10s? > > In order transfer data in binary mode you must set property > BinaryMode to TRUE as well as call the TypeSet command to > send the transfer type to the server. Same when switching > back to ascii except property BinaryMode must be set to FALSE before. > > --- > Arno Garrels [TeamICS] > http://www.overbyte.be/eng/overbyte/teamics.html > > > > > >> -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 > -- 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