|
Hello,
I would like to retrieve a file from a remote server using an ASP page and save it on my computer. The only thing that I can do so far is retrieve a file that is on my computer, using the following code:
<%
dim stream
set stream = server.createObject("adodb.stream")
stream.open
stream.type = 1
Settings\stream.LoadFromFile "C:\Documents and Settings\Administrator\Desktop\test.txt"
stream.SaveToFile "C:\temp\test_cpy.txt",1
Response.Write "File saved!"
%>
Does anyone know what I can do?
Thanks,
tcb.
|