[twsocket] How to get the size of the remote file?

2005-03-13 Thread Jilani Khaldi
Hi All, usisng FtpCli component, how to get the size of the remote file before the download? Thanks! jk -- 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] How to get the size of the remote file?

2005-03-14 Thread Jilani Khaldi
. -- //- Jilani KHALDI http://jkhaldi.oltrelinux.com/ -- 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] How to get the size of the remote file?

2005-03-14 Thread Jilani Khaldi
After the SIZE command, you have the result into SizeResult property. Where to add "FtpClient1.SizeAsync" method to the FTPAsy1 example to get the file size before downloading it? In other words, where putting: FtpClient1.SizeAsync; Label9.Caption := IntToStr(FtpClient1.SizeResult); Thanks! j