Home > Archive > ASP > October 2006 > How to create a file in ASP/VBScript?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to create a file in ASP/VBScript?
|
|
| thisis 2006-10-30, 6:59 pm |
| Hi All,
What options/methos/properties/functions/objects do I have in order to
create a
Function in ASP/VBScript that process/create binary data as an image
file type?
The Function is supoosed to get 2 parameters:
1. The file image content type defined as "image/bmp" , strContentType
2. the file binary data, binDataImageBytes (which is stored in session
vars)
The Function should return/create an Image File , for instance
~tmpImg.BMP
My Question is
How to create a binary Image file type from the session var binary
data ?
| |
| Anthony Jones 2006-10-30, 6:59 pm |
|
"thisis" <helloOne@web.de> wrote in message
news:1161811998.702831.92080@i42g2000cwa.googlegroups.com...
> Hi All,
>
> What options/methos/properties/functions/objects do I have in order to
> create a
> Function in ASP/VBScript that process/create binary data as an image
> file type?
>
>
> The Function is supoosed to get 2 parameters:
> 1. The file image content type defined as "image/bmp" , strContentType
> 2. the file binary data, binDataImageBytes (which is stored in session
> vars)
>
>
> The Function should return/create an Image File , for instance
> ~tmpImg.BMP
>
>
> My Question is
> How to create a binary Image file type from the session var binary
> data ?
>
The ADODB.Stream object will probably suit your needs
Google it with the keywords ASP and Upload should get you some useful
results you can tweak.
|
|
|
|
|