Re: [twsocket] TFTPClient-> the command "ls"
I wrote: > Please find attached ZIP, FtpCommon.pas (9 KB, hopefully not deleted by Why is it not possible to attach such small files :( Anyway, I've uploaded the mentioned ZIP (which is not my work!) to: http://www.duodata.de/misc/delphi/FTPCommon.zip Arno Garrels -- 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] TFTPClient-> the command "ls"
[EMAIL PROTECTED] wrote: > The command "ls" gives me a list with folders and files, but how can I > get the files or the folders only ? Please find attached ZIP, FtpCommon.pas (9 KB, hopefully not deleted by the listserver) helps a lot when you need to parse the returned file listing. I HAVEN'T WROTE THAT STUFF, and unfortunately I can't remember who was the author. If Angus listens, please post the link, or better the unit including your fixes. Arno Garrels -- 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] TFTPClient-> the command "ls"
> I want to program a FTP-Client, but the ICS-Client is not easy to use. That's not a component issue. It is how FTP protocol is working. The format of the directory list depends on the server you use. It is not specified in the standard. > How can I get more informations about the files on the FTP-Server ? > The command "ls" gives me a list with folders and files, but how can I get > the files or the > folders only ? And how can I get the attributes of the files and folders ? You have to parse the directory list (there are two forms: one with only the names and one with more details. However as I said above, the format is not standard at all). -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] 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