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 Larger Files

Uploading Larger Files

Scheduled Pinned Locked Moved ASP.NET
helpquestion
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.
  • P Offline
    P Offline
    priyaahh
    wrote on last edited by
    #1

    Hi, I am trying to upload larger file (txt file size is 8 MB) in aspx page, for this i have made changes to web.config file <httpRuntime executionTimeout="240" maxRequestLength="20480" /> When i try this page local it is working fine, the file is getting uploaded. When i tried to access this upload page URL from some other machine, pointing the url to my machine, i am getting timeout error. Please help me what is the problem here. Thanks in Advance, Regards, priyaah.

    P T 2 Replies Last reply
    0
    • P priyaahh

      Hi, I am trying to upload larger file (txt file size is 8 MB) in aspx page, for this i have made changes to web.config file <httpRuntime executionTimeout="240" maxRequestLength="20480" /> When i try this page local it is working fine, the file is getting uploaded. When i tried to access this upload page URL from some other machine, pointing the url to my machine, i am getting timeout error. Please help me what is the problem here. Thanks in Advance, Regards, priyaah.

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      I also face this problem earlier. My solution was first I save the file from the network drive to our local machine through our code and then upload it from the local machine. Thanks

      Parwej Ahamad ahamad.parwej@gmail.com

      1 Reply Last reply
      0
      • P priyaahh

        Hi, I am trying to upload larger file (txt file size is 8 MB) in aspx page, for this i have made changes to web.config file <httpRuntime executionTimeout="240" maxRequestLength="20480" /> When i try this page local it is working fine, the file is getting uploaded. When i tried to access this upload page URL from some other machine, pointing the url to my machine, i am getting timeout error. Please help me what is the problem here. Thanks in Advance, Regards, priyaah.

        T Offline
        T Offline
        thatraja
        wrote on last edited by
        #3

        Here you go dude Large File Uploading in ASP.NET[^] Preventing browser timeout on large file uploads[^]

        thatraja


        **My Tip/Tricks
        My Dad had a Heart Attack on this day so don't...
        **

        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