By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,502 Members | 1,177 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,502 IT Pros & Developers. It's quick & easy.

Easiest way to save image from an URL in ASP.NET

P: n/a
I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.

So, I would like to click the button on the ASP.NET page and thus to save a
copy of a picure at let's say http://www.blabla.com/pic.jpg to predefined
location on my hard disk.

Thanks in advance,
Hrvoje
Feb 14 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
>I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.
Open the page in a browser. The image will be in your Temporary Internet
Files folder.

Of course, if you want to find it more easily, right-click the image, and
choose "Save Image As..." from the context menu.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
We got a sick zebra a hat,
you ultimate tuna.
"Hrvoje Vrbanc" <hr*****@recro.hr> wrote in message
news:uU**************@TK2MSFTNGP11.phx.gbl...I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.

So, I would like to click the button on the ASP.NET page and thus to save
a copy of a picure at let's say http://www.blabla.com/pic.jpg to
predefined location on my hard disk.

Thanks in advance,
Hrvoje

Feb 14 '06 #2

P: n/a
my.Computer.Network.DownloadFile (...)
So when the user clicks an image you should send the url directly.
Let the server download the image then.

"Hrvoje Vrbanc" <hr*****@recro.hr> schreef in bericht
news:uU**************@TK2MSFTNGP11.phx.gbl...
I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.

So, I would like to click the button on the ASP.NET page and thus to save
a copy of a picure at let's say http://www.blabla.com/pic.jpg to
predefined location on my hard disk.

Thanks in advance,
Hrvoje

Feb 14 '06 #3

P: n/a
Hello Kevin!

I was in fact referring to an automated process for saving a lot of images
(named logically on remote server so that the names could be created
programatically) under names also created programatically.....

Hrvoje

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:eA**************@TK2MSFTNGP14.phx.gbl...
I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.


Open the page in a browser. The image will be in your Temporary Internet
Files folder.

Of course, if you want to find it more easily, right-click the image, and
choose "Save Image As..." from the context menu.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
We got a sick zebra a hat,
you ultimate tuna.
"Hrvoje Vrbanc" <hr*****@recro.hr> wrote in message
news:uU**************@TK2MSFTNGP11.phx.gbl...
I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.

So, I would like to click the button on the ASP.NET page and thus to save
a copy of a picure at let's say http://www.blabla.com/pic.jpg to
predefined location on my hard disk.

Thanks in advance,
Hrvoje


Feb 15 '06 #4

P: n/a
That solved the problem, thanks!
Hrvoje

"Edwin Knoppert" <ne**@hellobasic.com> wrote in message
news:43**********************@text.nova.planet.nl. ..
my.Computer.Network.DownloadFile (...)
So when the user clicks an image you should send the url directly.
Let the server download the image then.

"Hrvoje Vrbanc" <hr*****@recro.hr> schreef in bericht
news:uU**************@TK2MSFTNGP11.phx.gbl...
I would like to know the most efficient way to copy an image from an
Internet URL to the local hard disk by means of using an ASP.NET page.

So, I would like to click the button on the ASP.NET page and thus to save
a copy of a picure at let's say http://www.blabla.com/pic.jpg to
predefined location on my hard disk.

Thanks in advance,
Hrvoje


Feb 15 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.