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. General Programming
  3. C#
  4. Downloadfile issue from server

Downloadfile issue from server

Scheduled Pinned Locked Moved C#
helpsysadminwindows-adminquestion
4 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.
  • A Offline
    A Offline
    ashok_rgm
    wrote on last edited by
    #1

    Hello All, Here I have a problem with downloading a file. I have a file "Sample.dat" of 600Mb in my IIS root directory. Now I have a client application to download file to local drive. am using DownloadFileAsync(URI,file); it takes 2 mins to download the complete file but while downloading the file if delete the source file in server it is still getting downloaded, how is it possible? :confused:

    ashok

    M L 2 Replies Last reply
    0
    • A ashok_rgm

      Hello All, Here I have a problem with downloading a file. I have a file "Sample.dat" of 600Mb in my IIS root directory. Now I have a client application to download file to local drive. am using DownloadFileAsync(URI,file); it takes 2 mins to download the complete file but while downloading the file if delete the source file in server it is still getting downloaded, how is it possible? :confused:

      ashok

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      ashok_rgm wrote:

      it takes 2 mins to download the complete file

      2 mins for 600 MB. :confused:

      Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      A 1 Reply Last reply
      0
      • M Manas Bhardwaj

        ashok_rgm wrote:

        it takes 2 mins to download the complete file

        2 mins for 600 MB. :confused:

        Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        A Offline
        A Offline
        ashok_rgm
        wrote on last edited by
        #3

        It is in LAN.. ie,. I have configured my IIS to my IP, and downloading from different system in same network.

        ashok

        1 Reply Last reply
        0
        • A ashok_rgm

          Hello All, Here I have a problem with downloading a file. I have a file "Sample.dat" of 600Mb in my IIS root directory. Now I have a client application to download file to local drive. am using DownloadFileAsync(URI,file); it takes 2 mins to download the complete file but while downloading the file if delete the source file in server it is still getting downloaded, how is it possible? :confused:

          ashok

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          You are not giving a URL to user for download. But you are pushing a download to user. In this case, file content is buffered in system memory and the content is pushed from memory only(not from disk). Now if you delete the Source there will be no issue to one downloading the file.

          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