| Author |
Uploading files
|
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
|
|
What do I need to do to set up a simple file upload on a plain HTML webpage? I saw the input type of file but what else is needed to incorporate this? Thanks in advance. Rob
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56202
|
|
You also need to set the enctype of the form to multipart/form-data. Then, of course, you need server-side code to parse the multi-part form.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Rob Hunter
Ranch Hand
Joined: Apr 09, 2002
Posts: 788
|
|
Alright I saw the encrypt afterwards but I was hoping that I didn't need a script to accept it. Do you know of any "free" modules for accepting multi-part form data in Perl or Java? I know it's not PerlRanch but I might as well ask it . Thanks. Rob
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
This is always a good place to start! Eric
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56202
|
|
Originally posted by Rob Hunter: Alright I saw the encrypt afterwards...
"enc" doesn't stand for encrypt, but rather encode.
Do you know of any "free" modules for accepting multi-part form data in Perl or Java?
If using Java, there's a handy FAQ entry in the JSP FAQ on just this topic. [ December 20, 2007: Message edited by: Bear Bibeault ]
|
 |
 |
|
|
subject: Uploading files
|
|
|