You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Oren Gozlan <or...@mobixell.com> on 2006/01/31 11:05:27 UTC

[users@httpd] newbe question - File upload howto

Hi Guys,

I have a apache server running on Windows server.
Need to add option to upload file to the server and need help ...

I have a form to select the file:
<form method='POST' enctype='multipart/form-data' action='fup.cgi'>
      File to upload: <input type=file name=upfile><br>
      <input type=submit value=Press> to upload the file!
</form>

Now .. i need the CGI or somthing to upload the file to "c:\temp"

Help ..

Oren





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] newbe question - File upload howto

Posted by gerard such <ge...@gmail.com>.
See apache - (modperl) - libapreq module. As far as i know (and i use it for
it), it is the only(?) way you have to upload files. However, i also thing
that CGI.pm (which i don't use) also allows you to upload a file ...




2006/1/31, Oren Gozlan <or...@mobixell.com>:
>
> Hi Guys,
>
> I have a apache server running on Windows server.
> Need to add option to upload file to the server and need help ...
>
> I have a form to select the file:
> <form method='POST' enctype='multipart/form-data' action='fup.cgi'>
>       File to upload: <input type=file name=upfile><br>
>       <input type=submit value=Press> to upload the file!
> </form>
>
> Now .. i need the CGI or somthing to upload the file to "c:\temp"
>
> Help ..
>
> Oren
>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


--
----------------------------------------
(signatura)
Eps, el meu bloc personal
http://www.camandules.info

Re: [users@httpd] newbe question - File upload howto

Posted by Sean Davis <sd...@mail.nih.gov>.


On 1/31/06 5:05 AM, "Oren Gozlan" <or...@mobixell.com> wrote:

> Hi Guys,
> 
> I have a apache server running on Windows server.
> Need to add option to upload file to the server and need help ...
> 
> I have a form to select the file:
> <form method='POST' enctype='multipart/form-data' action='fup.cgi'>
>       File to upload: <input type=file name=upfile><br>
>       <input type=submit value=Press> to upload the file!
> </form>
> 
> Now .. i need the CGI or somthing to upload the file to "c:\temp"

This doesn't really have to do directly with apache server.  It has more to
do with the language that you are using to handle requests.  You will need
to read about how to do uploads in whatever language you are using, be it
php, perl, java, etc.

Sean



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org