You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Srinidhi Rao S <sr...@robosoftin.com> on 2000/05/03 11:44:54 UTC

Upload file

Hi all,
     I am new to perl programming. I am working in a project where I need to upload some files in a web interface.  I used HTML file upload object with POST method. My question how do I receve the uploded file on the server side.  Is there is any module o call in PERL to do this job. Please help me in this regard.
Any help is appriciated.
TIA
Srinidhi Rao
Robosoft Technologies
E-mail: srinidhi@robosoftin.com
www.robosoftin.com


Re: Upload file

Posted by "Ken Y. Clark" <kc...@boston.com>.
On Wed, 3 May 2000, Srinidhi Rao S wrote:

> Hi all,
>      I am new to perl programming. I am working in a project where I
> need to upload some files in a web interface.  I used HTML file upload
> object with POST method. My question how do I receve the uploded file
> on the server side.  Is there is any module o call in PERL to do this
> job. Please help me in this regard. Any help is appriciated. TIA
> Srinidhi Rao Robosoft Technologies E-mail: srinidhi@robosoftin.com
> www.robosoftin.com

welcome to the wonderful world of perl.  you should know that your
question is not really a mod_perl question, but a straight-up perl/cgi
one.  that said, under cgi, you're best using CGI.pm, which is a standard
perl module.  for more information, do "perldoc CGI" to learn how to use
this module.  if you move to a mod_perl evironment, you should consider
using Apache::Request/Apache::Upload.  again, 'perldoc $_ for
qw(Apache::Request Apache::Upload)'.

ky



Re: Upload file

Posted by Andreas Grupp <gr...@elektronikschule.de>.
Am 3 May 2000, um 15:14, hat Srinidhi Rao S folgendes geschrieben:

> Hi all,
>      I am new to perl programming. I am working in a project where I need to
>      upload some files in a web interface.  I used HTML file upload object with
>      POST method. My question how do I receve the uploded file on the server
>      side.  Is there is any module o call in PERL to do this job. Please help me
>      in this regard.
> Any help is appriciated.

Have you had a look onto CGI.pm (from Lincoln Stein). Their you have very 
simple to use mechanisms to do this. The package is available via CPAN.

--
Andreas
____________________________________________________________________

Elektronikschule Tettnang   http://www.elektronikschule.de/~grupp
Oberhofer Str. 25           mailto:grupp@elektronikschule.de
88069 Tettnang              PGP-Key available via mail. Use subject
Tel.: +49 7542 9372-33              Use subject: send pgp-public-key
Fax.: +49 7542 9372-40      Open Minds. Open Sources. Open Future

Privat: Quellenhalde 1, 88069 Tettnang, +49 7542 6462