nope, not something that's I know of. what you mean byOriginally Posted by k1mzen
"downloading without DownloadManager"? downloading how?
Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.
If you feel it's not fast enough then you can remove it and use the normal way.
Life is Good
I had the same problem as the last person. The IsClientConnected part of the code seems to slow down the actual download speed. If I setup a test with the script, I get 150K max from speeds, whereas I can get 1.2MB speeds if I setup the same file with a href link and right click it.Originally Posted by Shadow Wizard
This script is great, and I really appreciate it, but I would love to get the speed faster. Any ideas? I have tried changing chunk size etc but no luck.
sorry, never considered this. if you suspect IsClientConnected then removeOriginally Posted by triagency
that line and check the speed, let me know how it goes.
that part of the code is not vital so it won't cause any problem.
Thanks very much for sharing this. Best ASP downloader I've found in quite a long search.
Only took me about 1week at work to finally come across your posting which actually made sense and was able to get my work site to be able to force download
Keep up the good work!!
First of all, I would like to thank you because this script is wonderful!
However, I have an issue with Internet Explorer: forcing download the browser prompts for downloading or opening directly; if you choose to open directly, sometimes the target application says that the file is already opened and cannot be opened.
This bheaviour isn't repetitive: it happens only in certain sites (all of them in the same server), it happens only for certain files and with firefox do not happen at all.
Any ideas? It would really help me.
Thanks a lot, Pat
Glad you like it Pet!Originally Posted by obiwanwrc
Regarding the problem, really nothing we can do with code, it's pure
browser/OS issue. The browser save the file into temporary folder
and opens it from there. Probably IE isn't handling the issue very
well (surprise surprise ) and we really can't do anything.
By the way, what files cause this? Anything special in those files?
My godness, this is what I call a prompt response!!! Thanks a lot mate!
No special file, it happens for example with a 284Kb PDF... I will try to investigate more about IE issues.
Thanks again, for your support and for the extraordinary work.
No problem, if it happens only with PDF it's worth checking your PDF Add-onOriginally Posted by obiwanwrc
to the browser maybe something went wrong there.
Important update.. just checked my code on IIS 7 and it won't
work for binary files like PDF, probably MIME Type problem.
Until I figure this out completely, there is way around. You can
force the download (force=true flag) then the file
DownloadManager.asp remove those three lines:
Those lines are causing the problem (page can't be displayed)Code:Response.AddHeader "Content-Length", iSz Response.Charset = "UTF-8" Response.ContentType = strContentType
and by removing them the code will work and send the file to
Though the browser won't recognize the file type, it will be
Happy programming, I'll update when I find better solution.
Last edited by Shadow Wizard; September 1st, 2010 at 03:37 AM.
Thanks for the heads up!
Would love to see this working under IIS7! Its well over my head but if anyone has any contributions for this code it would be a perfect solution. Great script, hope it gets working again.
A note to everyone. To get this script working in IIS7 with forced=false, instead of deleting all 3 lines as Shadow Wizard said above, leave this line:
Do not delete that. And it now works.Code:Response.ContentType = strContentType
Really weird! So either the content length or charset is causing problem.Originally Posted by rtown
Thanks for finding and sharing this!
Become Part of This ConversationJoin NowFor Free!