Question : Check if FTP upload was successful

I am uploading FTP files through command line each morning.  Does the DIR() function work on a password protected ftp server to verify the files were successfully uploaded?

The method to check I am currently developing is to connect to ftp and read the file.  if I can read the file then it exists.  Is there a more efficient method?

Answer : Check if FTP upload was successful

Hi MageDribble,
  No.  You would have to have OS level access to the drive resources to use DIR or DIR$

  You may have to wangle a ftp LIST command to bring back the folder directory content and  check the received output for your file name.

regards,
-jadedata-
Random Solutions  
 
programming4us programming4us