EldoS | Feel safer!

Software components for data protection, secure storage and transfer

using FTPs to download files

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 09/24/2010 14:56:10
by Jon Kenoyer (Basic support level)
Joined: 09/24/2010
Posts: 1

I am using TElSimpleFTPSClient to automatically connect to an FTPs site and download any waiting files.

I am using version NET_20.

After logging in, which works fine, to get the list of new files I want to:

Call GetFileList()

In the OnTextDataLine event save each file to an array

Is this the correct approach or is there an easier approach?

How do I determine that all the files have been listed, so I can trigger downloading them?
Posted: 09/25/2010 00:02:09
by Eugene Mayevski (EldoS Corp.)

Yes, this is the correct approach as it lets you do processing of entries not waiting for the final result.

GetFileList returns only after the listing is fetched so after it returned, you have a complete listing (if you stored it somewhere).

Sincerely yours
Eugene Mayevski



Topic viewed 784 times

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


Back to top

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

Got it!