Re: [twsocket] TFtpClient retrieve file size for progress bar

2007-02-15 Thread Michael Fritz
Hi, I don't think so 'cause Internet Explorer shows the size correctly *and* the more advanced demo FtpTst1 returns the size correctly. So I'm clueless at the moment. cu, Michael Original-Nachricht Datum: Thu, 15 Feb 2007 12:31:59 +0200 Von: "Fastream Technologies" <[EMAIL PR

Re: [twsocket] TFtpClient retrieve file size for progress bar

2007-02-15 Thread Fastream Technologies
Hello, Some old FTP servers do not support the SIZE command as it is not mandatory in RFC959. Yuo will need to use a parser and parse LS response. Regards, SZ - Original Message - From: "Michael Fritz" <[EMAIL PROTECTED]> To: Sent: Thursday, February 15, 2007 12:20 PM Subject: [twsoc

[twsocket] TFtpClient retrieve file size for progress bar

2007-02-15 Thread Michael Fritz
Hi, I'm using the BasFtp1 demo of ICS to test downloading a file from an FTP server. I changed this demo (at least a tried to) to retrieve the file size before downloading to feed a progress bar. I've changed the RequestDone event the following way: [..] ftpTypeSetAsync: beg