Advertisement

06.22.2005 at 03:43AM PDT, ID: 21466703
[x]
Attachment Details

Microsoft Internet Transfer Control 6.0 (SP4) force overwrite existing files

Asked by MNCW in VB Controls

Tags: internet, transfer, control, microsoft

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:  
    inetFTP.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
[+][-]06.22.2005 at 05:21AM PDT, ID: 14274388

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: VB Controls
Tags: internet, transfer, control, microsoft
Sign Up Now!
Solution Provided By: cybeh
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32