Link to home
Start Free TrialLog in
Avatar of flashaoy
flashaoy

asked on

download image from URL and save it in my PC

how can download image from URL as http://www.abc.com/avvv.jpg

and save this image in my PC
ASKER CERTIFIED SOLUTION
Avatar of BBK_
BBK_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of flashaoy
flashaoy

ASKER

how can make it to save in folder name images/  ?
Client.DownloadFile(" http://www.abc.com/avvv.jpg", "avvv.jpg ");
In this the second parameter you can specify the Foldername and the file name that you want.

EG: IF you wan to save the avvv.jpg into your "MYpicture" as "GreatPic.jpg" folder then give like this

Client.DownloadFile(" http://www.abc.com/avvv.jpg", "C:\Documents and Settings\User\My Documents\My Pictures\GreatPic.jpg ");