Hi,
ASP is not my strongest subject. I am sure this must be easy-peasy to do but I can't get anywhere.
I have my own IIS server, running an ASP application.
I need to copy several files from somewhere on the web to my local server, where I can then process them. I know I am allowed to do this, as the web site concerened just says autocopy scripts must not be run more than once per hour.
This is one of the files I need to copy.
"http://en6.tribalwars. net/map/village.txt"
The best I could come up with was
[code=asp]
<%option explicit
dim fso
Set fso = CreateObject("S cripting.FileSy stemObject")
'rename live database
fso.CopyFile "http://en6.tribalwars. net/map/village.txt","C :\t.txt"
set fso=nothing
%>
[/code]
But it dont want to know..
I can go to the site and download the files from there, but there are dozens of them, and I want to do this on a daily basis.
Any hints please.
ASP is not my strongest subject. I am sure this must be easy-peasy to do but I can't get anywhere.
I have my own IIS server, running an ASP application.
I need to copy several files from somewhere on the web to my local server, where I can then process them. I know I am allowed to do this, as the web site concerened just says autocopy scripts must not be run more than once per hour.
This is one of the files I need to copy.
"http://en6.tribalwars. net/map/village.txt"
The best I could come up with was
[code=asp]
<%option explicit
dim fso
Set fso = CreateObject("S cripting.FileSy stemObject")
'rename live database
fso.CopyFile "http://en6.tribalwars. net/map/village.txt","C :\t.txt"
set fso=nothing
%>
[/code]
But it dont want to know..
I can go to the site and download the files from there, but there are dozens of them, and I want to do this on a daily basis.
Any hints please.
Comment