473,321 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Upload Image, file to IIS server

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
Aug 19 '05 #1
4 6252
What on earth does "doesn't work" mean? Did you bother trying more than one
or trying to diagnose/troubleshoot?

http://www.aspfaq.com/2189
"Martin" <ma******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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

Aug 19 '05 #2
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
"Aaron Bertrand [SQL Server MVP]" <te*****@dnartreb.noraa> schrieb im
Newsbeitrag news:OM**************@TK2MSFTNGP12.phx.gbl...
What on earth does "doesn't work" mean? Did you bother trying more than one or trying to diagnose/troubleshoot?

http://www.aspfaq.com/2189
"Martin" <ma******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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


Aug 19 '05 #3
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.

"Martin" <ma******@freenet.de> wrote in message
news:OG**************@TK2MSFTNGP15.phx.gbl...
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
"Aaron Bertrand [SQL Server MVP]" <te*****@dnartreb.noraa> schrieb im
Newsbeitrag news:OM**************@TK2MSFTNGP12.phx.gbl...
What on earth does "doesn't work" mean? Did you bother trying more than

one
or trying to diagnose/troubleshoot?

http://www.aspfaq.com/2189
"Martin" <ma******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> 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
>
>



Aug 19 '05 #4
OK, thanks

"Aaron Bertrand [SQL Server MVP]" <te*****@dnartreb.noraa> schrieb im
Newsbeitrag news:#W**************@TK2MSFTNGP14.phx.gbl...
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.

"Martin" <ma******@freenet.de> wrote in message
news:OG**************@TK2MSFTNGP15.phx.gbl...
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
"Aaron Bertrand [SQL Server MVP]" <te*****@dnartreb.noraa> schrieb im
Newsbeitrag news:OM**************@TK2MSFTNGP12.phx.gbl...
What on earth does "doesn't work" mean? Did you bother trying more than
one
or trying to diagnose/troubleshoot?

http://www.aspfaq.com/2189
"Martin" <ma******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> 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
>
>



Aug 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
3
by: moondaddy | last post by:
I have a simple webform where a user can upload images by using an input element of type "file". In the a button's click event in the codebehind is this code which saves the file to the server. ...
1
by: John Thompson | last post by:
We're sooo close. When we load the page to upload the image, all of the prms go through except the binary image data. Using SQL server with the data type set to "image". Please help! Thanks-...
5
by: bob garbados | last post by:
I am trying to create a database-driven photo gallery for a friend with an admin form to upload images... I can upload a file to the web server, but I want to store the image in a database and I...
3
by: Pitcairnia | last post by:
The basic purpose of the site is for authenticated users to post event listings, which often include photographs. The user is faced with a page where they can insert all of the information about...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.