Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript How to Copy Remote File to My Hardisk?

Status
Not open for further replies.

gan123

Technical User
Mar 13, 2003
1
IN
All,

Hi, I'm trying to use Javascript to download and copy some image files from the Internet to my local harddisk. It works like f1.GetFile("c:\abc.txt") and f1.Copy("c:\temp\abc.txt") . Just that the source file location is on the webserver, like
f1.GetFile("
Any tips of how to do that? the GetFile function only can copy from local hardisk, but remote can't.

Thanks.
Gan
 
Hmmm - well if URL's don't work you could try getting them from the temporary internet files? I think the only way you could access server based files, is by using server side scripts - PERL etc, but you may be able to get them from the client machine, if they have got them in their cache.
b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top