Try > File.Copy("f:\case.dbf", "e:\GeneralDropFolder\case.dbf", True) > Catch ex As Exception > 'There was a problem copying the file. > CopySuccessful = False > 'Add entry of this event to log. > Echo("Attempt to copy file f:\case.dbf to e:\GeneralDropFolder failed." _ > + Chr(13) + Chr(10) + "Additional error information: " _ > + Chr(13) + Chr(10) + ex.tostring(), False, True) > End TryHere's the output from the log:
2005-11-28 22:01:56 Attempt to copy file f:\Case.dbf to E:\GeneralDropFolder failed. >Additional error information: >System.IO.FileNotFoundException: Could not find file "f:\Case.dbf". >File name: "f:\Case.dbf" > at System.IO.__Error.WinIOError(Int32 errorCode, String str) > at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) > at FTPDirect.Module1.Main()Right after the program aborts, I go to the computer, try to access the F: drive and everything is there (F:, F:\case.dbf, etc.). It shouldn't have failed.