send a binary file w/ filesystemobject?
There's another thread that adresses this:
To Script to downlaod a file from Server to Client machine
(watch word wrap)
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnwebteam/html/webteam09042000.asp
Q: Jeromy wants to use script to display the Save As dialog box.
A: Use the execCommand method.
<input type=button value="Save this document"
onclick="execCommand('SaveAs');">
Quote:
> no, i want to start a download session for the browser.
> we would like to provide access to sample applications on our web site,
but
> we want visitors to register prior to downloading the application.
> i would like to store the applications in a folder that isn't accessible
to
> the web; the ASP application would, assuming the user registered, open the
> file from the location, then write it to the response object.
> any ideas?
> > Why?
> > Are you trying to display the contrents of an .EXE via the browser?
> > Or, and I hope not, trying to have it execute?
> > > I would like to open a binary file (an EXE) with the FileSystemObject,
> > then
> > > somehow send it to the browser. I'm having trouble connecting the FSO
> > with
> > > the Respose.BinaryWrite method.
> > > Any ideas appreciated.
> > > Craig Buchanan