Why not simply check if the file is present or not using the List method ?

> I have tried to decode the result of the SIZE command
> but that has proved very unreliable.

The size command give his result in SizeResult property. It is 100% 
reliable, except when the server doesn't support the SIZE command which is 
optional in FTP standard.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Tuesday, December 27, 2005 10:15 AM
Subject: [twsocket] TFPClient1 (determinign whether to put or appendfile)


> I've go a Client App that sends a data file to a centralised server
> using Francois's FTPClient1 routines.
>
> From time to time the Server will remove the uploaded file.
>
> Is there a clever way of working out whether the data file is present on
> the  server to determine whether I can do a PUT or APPEND/APPENDFILE.
>
> I have tried to decode the result of the SIZE command but that has
> proved very unreliable.
>
> With thanks and bonne année.
>
> Ed
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be 

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

Reply via email to