
Cannot overwrite local file upon downloading
Bill,
I know that if the file exsits that Inet's response code is 80 so this is
what you can do
On error goto FileThere
code.....
code....
FileThere:
If Inet1.responsecode=80 then
Kill "Path and filename" (must be in quotes unless usinf a variable)
Inet1.Execute Inet1.URL, "Get " & SourceFile & " " & DestFile
End if
Hope this helps!
Patrick Hill
Quote:
> I wrote a little program using INET control for user upload/download
files.
> Upload works ok, users can overwrite existing files on the FTP server, but
> files downloaded by users won't work if there is a file with the same file
> name exist in the local directory. Is there anyway to overwqrite local
file
> using INET?
> Thanks