Re: How can i check whether a file exists? - WeOnlyDo Discussion board

Re: How can i check whether a file exists? (General questions)

by wodDamir, Monday, March 19, 2012, 14:33 (4429 days ago) @ david.pearson@gmsl.co.uk

David,

Why don't you simply set Resume property to True? If server supports file transfer resuming, and component finds an exact file on server, it will not transfer it.

Other than that, you can simply call any other method (i.e. GetAttributes) on the file you wish to check existancy for. If file doesn't exist, you'll be given an error.

Hope this helps.

Regards,
Damba


Complete thread: