How can I check to see if a file exists and what its size is on an FTP site? So far I have this:
Code:
With Inet1
   .Cancel
   .Protocol = icFTP
   .URL = "FTP://ftp.whatever.com"
   .UserName = "username"
   .Password = "password"
   .Execute , _
        "RENAME UPLOAD/old.txt UPLOAD/new.txt"
   DoLoop
   .Execute , "QUIT" 
End With
I want to make sure the file exists before I rename it and compare its size to the size of the file on my pc.