c# - how to download file from other server using mvc asp.net -


how can download file other server , save @ own using mvc asp.net c#?

i able read title, nevertheless:

webclient client = new webclient(); client.downloadfile("http://your-address.com/filetodonwload.ext", "c:\pathtothefiletocreate"); 

should wanted.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -