Re: [twsocket] ICS FTP - function to check if file exists on the ftp server

2016-01-17 Thread MMG Admin
Thank you! This email has been sent from a virus-free computer protected by Avast. www.avast.com

[twsocket] ICS FTP - function to check if file exists on the ftp server

2016-01-17 Thread MMG Admin
Hello, How can I check if a file exists on a ftp server? I need to check if a file exists on server because I don't want to overwrite it. Thank you! Using indy ftp I managed to do this using the following function. How can I modify this to the ics ftp coding style? Function

Re: [twsocket] ICS FTP - function to check if file exists on the ftp server

2016-01-17 Thread Angus Robertson - Magenta Systems Ltd
> How can I check if a file exists on a ftp server? Use TMagFtp which uses ICS from: http://www.magsys.co.uk/delphi/magxfer.asp which includes a function CopyOneFile() with Replopt set to FCReplNewer or FCReplNone depending your needs. The component will also synchronise local and remote