473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

download an image file to local...

Hi!
Kindly tell me how to download/copy an image to local system using C#.
for instance my application that is running on local network which is
connected to internet... wants to download the logo of Google on this
url (http://groups.google.com.pk/groups/i...ps_medium.gif).

how can i do that..
thanks,
ER

May 3 '06 #1
2 1406
Use the HttpWebRequest class to get the image. Use the classes in
System.IO to save the file.

Erphan Rajput wrote:
Hi!
Kindly tell me how to download/copy an image to local system using C#.
for instance my application that is running on local network which is
connected to internet... wants to download the logo of Google on this
url (http://groups.google.com.pk/groups/i...ps_medium.gif).

how can i do that..
thanks,
ER

May 3 '06 #2
thanks for the reply

May 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: GMane Python | last post by:
Hello All. Using a network camera with built-in webserver, I'd like to have a python program download .jpg files on a local lan. the location is http://<ip-address>/jpg/image.jpg. Currently,...
17
by: Kevin Goodsell | last post by:
Is there a place I can download the last public draft for C89? What about a draft for C95? What I really need is a list of all standard library functions, macros, types, etc. for a "keyword...
4
by: gb | last post by:
hi, i placed System.Windows.Forms.WebBrowser in my WinForm. When i tried loading word document, it opens the File Download window. My question is how can i avoid the File Download window from...
6
by: Buz Waitz | last post by:
For some reason, even though all of my jpgs and gifs download to IE with the html on the stand alone server, and on computers within our peer-to-peer lan; they do not all download to clients over...
8
by: kieran | last post by:
Hi, I want to download an image from the web and save it locally. I have spent all day messing about with this and am still no where. We have a firewall so i use the below code. I know it...
2
by: Keith Harris | last post by:
Hi, I am pulling xhtml content from a data provider that I manipulate and store in a DB. Before storing the xhtml fragment in the DB,I want to discover all <img> tags, download the target image...
6
by: Jatin | last post by:
Hey Guys I have a web application that allows users to download files. But the files are not hosted on the webserver. The files are stored on external servers and are referenced by a URL/URI....
4
by: Jeff | last post by:
I have been able to store and retreive images and files as an image data-type into SQL Server. In code, C#, there is the option to display the image to the browser or store the file to a location...
2
by: Lance | last post by:
Hi all, In VB6, I could use the API too query the size of a file on the web, then download that file showing a custom progress indicator. I realize that I can use the DownloadFile method and...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.