Downloadfile issue from server
-
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
-
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
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.
-
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.
-
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
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.