send a binary file w/ filesystemobject? 
Author Message
 send a binary file w/ filesystemobject?

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



Mon, 01 Aug 2005 05:25:40 GMT  
 send a binary file w/ filesystemobject?
Why?

Are you trying to display the contrents of an .EXE via the browser?

Or, and I hope not, trying to have it execute?


Quote:
> 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



Mon, 01 Aug 2005 05:35:02 GMT  
 send a binary file w/ filesystemobject?
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?


Quote:
> 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



Mon, 01 Aug 2005 05:40:06 GMT  
 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



Mon, 01 Aug 2005 06:10:16 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. FileSystemObject for Binary File Creation

2. Vbscript 5 & FileSystemObject (binary files)

3. BinaryWrite for binary files (FileSystemObject)

4. Help : send binary file to server

5. SENDING A BINARY FILE

6. Sending binary files through webclasses

7. Function to encode binary file and send by VB (mail)

8. Function to encode binary file and send by VB (mail)

9. Can Mscomm send Binary file?

10. Help with sending binary file instead of text

11. Function to encode binary file and send by VB (mail)

12. Sending and Receiving Binary files with winsock

 

 
Powered by phpBB® Forum Software