Re: Stream object write method in ASP

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
news:#xWnRKM3GHA.3476@xxxxxxxxxxxxxxxxxxxx:

Buy an upload compoent, please! Please read this:

http://classicasp.aspfaq.com/forms/how-do-i-upload-files-from-the-clien
t-to-the-server.html

Ray at work

Thanks - I've tried some components, but they used the FileSystemObject
method, which won't handle binary files without the expensive conversion to
text. So, I'm trying to "roll my own" ...

The ADODB.Stream object would work a treat, and massively quicker than
those components, if I could save or convert the data from the Request
object to an array of bytes. This is what I'm exploring right now, and
"Give up and buy a component" isn't what I'd hoped to hear!

--
Geoff
.



Relevant Pages

  • RE: code issues in 2007
    ... the FileSystemObject to perform the actions you want to do. ... Maurice Ausum ... "Ray" wrote: ... count in the caption of a command button. ...
    (microsoft.public.access.formscoding)
  • Re: WSHController - FSO - Read a remote file
    ... Ray at work ... > I'm working with WMI and I'm trying to read a file from a remote computer ... Although I've tried FileSystemObject with C$ and with C: ...
    (microsoft.public.windows.server.scripting)
  • Re: diff
    ... ray wrote: ... Could you give us a clue what you're trying to do? ... happens to appear in binary files, ... Just wanna compare the source and the target after duplicating a file. ...
    (alt.os.linux)
  • Re: file delete crashes server
    ... Ray at work ... > I'm trying to delete a file using FileSystemObject ... > this code seems correct, but when the server executes it, the server ...
    (microsoft.public.inetserver.asp.general)
  • Re: How to detect result of FileSystemObject delete method
    ... Ray at work ... > Server 2003, using the FileSystemObject in JScript within a try catch ... > Maybe you get different results when using the FileSystemObject within ...
    (microsoft.public.inetserver.asp.general)