|
 |
asp_databases thread: How to attach a word document and insert to Oracle?
Message #1 by Khaled Ghoneim <kghoneim@y...> on Fri, 30 Mar 2001 09:31:15 -0800 (PST)
|
|
Hi,
How can I allow my web site users to attach a word
document and then insert it to an Oracle table.
I know that <input type=file> will allow users to
browse their file system and select a file. But how
would my web server recognize that c:\myfile.doc is in
the client's hard drive not the server's.
Second what is syntax for inserting the file into the
Oracle column defined as Long Row.
Thanks
Khaled
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
Message #2 by "Markus Hain" <kill@g...> on Fri, 30 Mar 2001 23:29:14
|
|
>
> Hi,
>
> How can I allow my web site users to attach a word
> document and then insert it to an Oracle table.
>
> I know that <input type=file> will allow users to
> browse their file system and select a file. But how
> would my web server recognize that c:\myfile.doc is in
> the client's hard drive not the server's.
>
> Second what is syntax for inserting the file into the
> Oracle column defined as Long Row.
>
> Thanks
>
> Khaled
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/?.refer=text
Hi
If you have a lot of time you can build your own upload component, but the
shortest path would be to donwload a component from say
(softartisans.com).The component will let you upload any file to your
servers hdd or a database (blob). You also need to use <FORM
ENCTYPE="multipart/form-data"> in your form and <type=file> in your file
field.
Markus
|
|
 |