Re: How can i check whether a file exists? (General questions)
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
Thanks. I'll try that and report back.
Complete thread:
- How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:28
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 14:33
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:40
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:55
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:05
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:10
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:19
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:26
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:49
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:55
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:49
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:26
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:19
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 15:10
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 15:05
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:55
- Re: How can i check whether a file exists? - david.pearson@gmsl.co.uk, 2012-03-19, 14:40
- Re: How can i check whether a file exists? - wodDamir, 2012-03-19, 14:33