PDA

Click to See Complete Forum and Search --> : Saving an image in ASP


gorthims
May 3rd, 2000, 02:14 PM
Hi guys

I am having on problem in my ASP application.
If an user posted an image. how can i collect it and save it to the disk. Please tell me the solution.
Thanks in advance.

lychew
May 3rd, 2000, 05:14 PM
I don't really know how to do this.
But i have observe that some of the web sites are using the tag
<input type=file....>

They are using some sort of RFC 1867 standard.


http://utopia.knoware.nl/users/schluter/doc/tags/index.html

This is about all that i can get...sorry.

gorthims
May 3rd, 2000, 07:29 PM
Thanks for replying
BUT
you are not getting my point.

Ok. i have used the tag <input type=file>.... in the page
using which user will choose the file name(which is there in his computer) to upload(Just like sending attachments along with a mail.) to the web server.

the moment he submits (submiting means requesting for another page)(at server level)in the requested page (it is an asp page) i have to collect the file contents using Request object and i have to save the contents to the local hardisk of the computer where this web server is running.

how can i do it.

Bryan
May 3rd, 2000, 11:24 PM
Try this, it works for me...


http://www.15seconds.com/component/pg003197.htm

gorthims
May 4th, 2000, 11:59 AM
ThanQ Bryan

You said to use third party component.
How can i do it only with vbscript or jscript with out using third party component.