ASP.NET upload/download file to remote server(CSASPNETRemoteUploadAndDownload)

The CSASPNETRemoteUploadAndDownload sample shows how to upload files to and download files from remote server in an ASP.NET application.

C# (56.5 KB)
4.4 Star
32,286 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Why it cannot download large files? (more than 60MB)
    3 Posts | Last post November 01, 2012
    • It works for small files, 1-10MB, but I have tried a 60MB file and it was failed to download it.
    • @MaysamSh - What kind of error are you getting? Is it timing out?
    • It's failing since you are exceeding the default 10 MB file UpLoad/DownLoad size, Increase the httpRunTime MaxRequestLength in the Configuration File and it should solve the problem.
      <httpRuntime executionTimeout="200" maxRequestLength ="2147483647"/>
  • I am getting ex = {"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."}
    1 Posts | Last post June 07, 2012
    • i have trying to upload to and
      how can i achieve it , i am beginner at this so might be some ISS setting to be changed
      Scenario we have a Load balancer it has two server pools
      we are trying to upload the file from web page but its updated on  one other is not updated to sync this we are trying to upload to the both servers simultaniously
      how can i achieve this sync using remote upload
      i just want to know how to upload to
      please stuck at the point ....:(