Posts

Showing posts from August 9, 2011

Getting Started WCF Tutorial

http://msdn.microsoft.com/en-us/library/ms734712.aspx

Download Or Save Image File From URL Using Net C#

This tutorial will show how to download a file ( image,video,zip,pdf,doc,xls,ect ) from a valid URL of a particular website then save it as a physical file on server disk. It provides one more solution when you want to copy/move a  file from  a server to another server. using   System; using   System.Collections.Generic; using   System.Linq; using   System.Web; using   System.Web.UI; using   System.Web.UI.WebControls; using   System.Net; using   System.IO;   public   partial   class   download_file_from_url : System.Web.UI.Page {      protected   void   Page_Load( object   sender, EventArgs e)      {         //Demo URL is included below please replace with the actual path          string   url =  "http://testUrl.com/wp-includes/images/logo.jpg" ;        ...