Hi Angus,
Many thanks for the answer.
The code was from an older version of magftp demo.

I did check as you adviced,
Listing files works, check download works and download works as well.

I am working with a single file. I need to check a single file and download if there is new.
I have checked the code behind the download button.

I still can't make magftp work because of the "Property SSLTYPE does not exist" error.
I have recompiled everything and I still get the error.
This means I am not going to be able to use your component unfortunately.

I would be pleased if someone could give me some example about how to do it with ICSFTPCLIENT.

Best regards
----- Original Message ----- From: "Angus Robertson - Magenta Systems Ltd" <an...@magsys.co.uk>
To: <twsocket@elists.org>
Sent: Monday, October 12, 2009 3:33 PM
Subject: Re: [twsocket] ICS FTP: How to check if file is newer?


Did you mean  the synchronization?
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::::::::::::
procedure TfrmMain.SynchronizeDirectory(FromPath, ToPath: string);

This function and code has nothing to do with ICS, FTP or TMagFtp, I've
not idea why you wanted to post it to all members of this mailing list.

You should run xferdemo3.exe, set your FTP server details, then your
multi FTP directories and file masks, click List Host Files, if that
works Check Download, finally Download Files.

You then know the component will do your required job, so look at the
code behind the Download Files button, making sure you set all the same
component properties the demo has set.

The only catch here is that multiple files needs to select files based on
a mask, or download the whole directory (if changed), if you want to
download multiple specific files you need to do that using one call to
the component per file.

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to