Chances are the bottleneck is in communications, not the code. Try putting
the test file in the www area on your site and going directly to
http://yoursite/yourbinaryfile.ext to see if it's any faster. I've never
SendBinary'ed a file, but usually when people say things are slow, it's
because they're using dialup or something. I'm assuming that you're hosting
the site on a server at a real host and that the speed issue isn't caused by
them. If you're hosting this site at home on a cable modem or something,
that would be an issue.
Ray at work
"Stevio" <re******@freeuk.com> wrote in message
news:c3*************@ID-216813.news.uni-berlin.de...
I have a guy asking me about the speed of downloads from his web site. I
use ASP code to send the download to the user, and the code I use is basically
like this:
FileName = Request.Form("FileName")
Path = Server.MapPath(FileName)
Set Upload = Server.CreateObject("Persits.Upload")
Upload.SendBinary Path
Set Upload = Nothing
Is there anything that can be done to make this more efficient and to send
the file faster?
Thanks,
Stephen