Upload Image, file to IIS server

M

Martin

Hi,
I search for free script to enable function UPLOAD Images, Files to
Webserver, and save in a directory.

I have tried a free script, but it doesn't work.
(http://www.freeaspupload.net), when I try the example of this page it does,
but with my pages it does not.

Thanks
Martin
 
M

Martin

thanks,

but the code ist very complex, otherwise I cannot simply debug ASP code. But
when you can help me....

The Error message is following:
006~ASP 0206~BinaryRead can not be called after using collection
Request.form...

I can understand the message, but with the demo of freeaspupload, the
collection Request.form.. was used (called) too. I have not modified the
original Upload class.

Thanks
 
A

Aaron Bertrand [SQL Server MVP]

You can usually access the form collection using the object. E.g. with
aspUpload, you say:

Set UploadObject = CreateObject("...progID...")

Then you can say:

Response.Write UploadObject.Form("itemName")
' instead of
' Response.Write Request.Form("itemName")

I have not used aspfreeupload, and I can't imagine there are a ton of people
here who have, so you may be out of luck for a direct solution unless you
try with the people who wrote the script.

Or you can try one of the other objects/scripts offered in the link I
posted.

Basically, it comes down to this. If you send binary, then everything is
hunked into the binary stream, and you can not access the text stream
individually, you must have some way to separate the parts that have been
glommed together.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,149
Messages
2,570,841
Members
47,388
Latest member
EarthaGilm

Latest Threads

Top