> How does Server understand that FtpClient Aborted the PUT. In 
> 'OnStorSessionClosed' 'Error=0'.
> 
> My intention is that at PUT of a file I rename the HostFilename 
> to Filename$$ and when completely received at Server side Server 
> will rename it back to 'Filename' by removing the ending $$.
> Sorry for all the trouble I am giving you.

Suggest you look at the source code for TMagFtp at: 

https://www.magsys.co.uk/delphi/magxfer.asp

which does all this already.  Generally, you check the correct sized
file has arrived, and perhaps run a CRC or MD5 check on it, to check
it's not corrupted before renaming it to the final name, if the server
supports such commands.  

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

Reply via email to