Re: How can i check whether a file exists? (General questions)
David,
Are you using blocking or non-blocking mode?
You could also use CheckDir or Rename (and specify both parameters to be same) methods.
Regards,
Damba
CheckDir does not do what i want - it appears to require a directory name rather than a file name.
My test FTP server is returning file or directory not found when i call GetAttributes, so that looks like it could do what i want, but it never errors.