Dear experts,
Hi, i am using Microsoft Internet Transfer Control 6.0(InetCtlsObjects.Inet) to transfer text files through FTP method and I was successfully get the files from server. Now, the problem is if the specified file (LocalFileName) is already present on the machine, the function will fail. It does not overwrite the existing file.
sample code:
inet
FTP.Execute , "Get " + RemoteFileName + " " + LocalFileName
Do you have any idea on how to force it to overwrite the existing file? Thank you very much.
Start Free Trial