Saving images

  • Thread starter Thread starter William Ortenberg
  • Start date Start date
W

William Ortenberg

I want to save an image from a remote server. For example, let's say
there's an image at http:\\www.xxx.com\image.jpg. I'd like to save the
image to d:\inetpub\wwwroot\application\images\image.jpg.

Actually, I'm looking to do this in .asp, though I imagine code in asp.net
would be similar. Any help would be appreciated.

Thanks in advance.
 
Actually I don't think the code would be very similar actually.
You'd better ask this over in the ASP group if you want an ASP answer.
 
You could try using the FileSystemObject in classic ASP

Dim oFileSys
Set oFileSys = Server.CreateObject("Scripting.FileSystem")

Cheers
Mark

--
 
You must not have ever looked at ASP.Net. It has a few things in common with
ASP, but code isn't one of them.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top