Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. uploading the file

uploading the file

Scheduled Pinned Locked Moved ASP.NET
csharptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sridevi14
    wrote on last edited by
    #1

    how to upload 1gb data through mail in .net using C#

    A 1 Reply Last reply
    0
    • S sridevi14

      how to upload 1gb data through mail in .net using C#

      A Offline
      A Offline
      Arindam Tewary
      wrote on last edited by
      #2

      Whether you are uploading a 1 GB file through 1. Mail attachement or 2. File upload control Both case to send a request of 1 GB to server, you have to tell the server that you are going to send a request having size more that 4096 KB( Becuase by default MAX request size length that you can send to IIS is system defined and it is 4096 KB) Configure you application to tell IIS the same as following Add this in web.Config file <httpRuntime maxRequestLength="size in KB" executionTimeout="seconds"> Put the amount of data you want to Transfer in KB and adjust the time in seconds. I hope it solves your problem ... :) Arindam D. Tewary

      P 1 Reply Last reply
      0
      • A Arindam Tewary

        Whether you are uploading a 1 GB file through 1. Mail attachement or 2. File upload control Both case to send a request of 1 GB to server, you have to tell the server that you are going to send a request having size more that 4096 KB( Becuase by default MAX request size length that you can send to IIS is system defined and it is 4096 KB) Configure you application to tell IIS the same as following Add this in web.Config file <httpRuntime maxRequestLength="size in KB" executionTimeout="seconds"> Put the amount of data you want to Transfer in KB and adjust the time in seconds. I hope it solves your problem ... :) Arindam D. Tewary

        P Offline
        P Offline
        prolibertine
        wrote on last edited by
        #3

        if you want to get a file upload control i can tell you some method. but sorry for my poor english ,if you know some chinese,contract me ,i will tell you .

        I think therefore I am --~--~---------~--~----~------------~-------~--~----~ My Blog and Website: http://www.cnblogs.com/pinzui/ http://www.pinzui.cn http://jnlinux.org --~--~---------~--~----~------------~-------~--~----~

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups