EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Posted: 07/11/2006 15:00:43
by Greg Lane (Basic support level)
Joined: 07/11/2006
Posts: 2

Can anyone provide a good example of how to use the SBSimpleFTPS.TElSimpleFTPSClient.ParseFileListEntry( SBSimpleFTPS.TElSimpleFTPSClient.@MetaTElSimpleFTPSClient Self, string Entry, SBSimpleFTPS.TSBFTPFileInfo FileInfo )

Thanks :)
Posted: 07/11/2006 15:29:12
by Eugene Mayevski (Team)

First parameter is a bug of Delphi compiler. I've removed it and next build (due to be released tomorrow) will fix it.

AS for your question, you pass the line of the directory listing as Entry parameter, and you create a structure (record) of type TSBFTPFileInfo, and pass it by reference in a second parameter. Note, that the function currently only parses unix output. If you have other format, you can find it easier to parse the output yourself.

We don't have plans to create myriads of parsers for various formats, like most FTP component vendors do.

Sincerely yours
Eugene Mayevski
Posted: 07/11/2006 16:21:38
by Greg Lane (Basic support level)
Joined: 07/11/2006
Posts: 2

Thanks, I appreciate your help Eugene.



Topic viewed 5035 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!