Click to See Complete Forum and Search --> : download file
esthera
11-28-2003, 03:04 AM
I have a script that i want to download a file and then it will backup the file and delete.
Can anyone help me with the code to download the file. It is a txt file.
lillu
12-02-2003, 03:57 AM
Hi,
I need some more info on the circumstances.
You want to download the file from where?
You want to delete the file from where?
You can only delete files on the server that runs your ASP code.
Look around this ASP object to do file operations:
Server.CreateObject("Scripting.FileSystemObject")
esthera
12-02-2003, 04:57 AM
The asp code is on the server. The file is being downloaded form the same server and then moved and emptied.
How do I do the download from the server?