Entry
What do I need to do client side to have file upload possibility?
Jun 17th, 2005 07:40
Knud van Eeden, jsWalter, Martin Honnen, Steve Bren,
Though JavaScript is not involved here is the answer: you set up a
FORM
with the appropriate attributes and an INPUT TYPE="file" element:
<FORM NAME="formName"
ACTION="yourServerSideFileUploadHandler"
METHOD="post"
ENCTYPE="multipart/form-data"
>
<INPUT TYPE="file" NAME="fileName">
<INPUT TYPE="submit">
</FORM>
Note that this produces a form on the client with a field to select a
file to upload. If you press submit the browser will send the selected
file to the web server but special processing is needed on the web
server to handle the file upload. Look into cgi/asp/ssjs/servlet
(depending on what you use with your web server) groups for (server
side) file upload handling code.
============
9/28/00 Walter
I have a sample perl script that will take care of accepting file
uploads.
Your welcome to it.
www.torres.ws
Walter
------------------------------------------------------------------------
--- Knud van Eeden: 17 June 2021 ---------------------------------------
Computer: Internet: File: Upload: Link: Overview: Can you give me an
overview of links?
http://www.faqts.com/knowledge_base/view.phtml/aid/36718/fid/136
------------------------------------------------------------------------