I am using edtFTPnet version 1.2.3.0 in C# 2005.
Part of the requirement is to specify whether to overwrite and existing file during a put, in order to overwrite you need to know whether the file exists for which I am using the dir(filename) command. On one FTP server it works fine, returning exactly what you would expect, but on another if the file doesn't exist it throws an FTPexception, i need to the code to work consistantly on both FTP machines.
Can you suggest anything to make it work consistantly on both machines ?
Thanks in advance
Steve