RE: Perl File Uploading

2004-04-20 Thread Wiggins d Anconia
Please bottom post > Create a form for upload (you may also use CGI.pm to create the form) > like this: > > method="post"> > > > > > > myperl.pl > > use CGI (:standard); > > my $file = param("file_to_upload"); > my $destination = "any_name.txt"; Please look at the preferre

FW: Perl File Uploading

2004-04-20 Thread B. Fongo
estination"); while (<$file>){ print FH -$_; } close FH; You may also use "read or sysread". See perldoc -f read for details HTH Babs ||> -Original Message- ||> From: John Pretti [mailto:[EMAIL PROTECTED] ||> Sent: Tuesday, April 20, 2004 3:51 PM

RE: Perl File Uploading

2004-04-20 Thread B. Fongo
/path/$destination"); while (<$file>){ print FH -$_; } close FH; You may also use "read or sysread". See perldoc -f read for details HTH Babs ||> -Original Message- ||> From: John Pretti [mailto:[EMAIL PROTECTED] ||> Sent: Tuesday, April 20, 2004 3:51 PM

Re: Perl File Uploading

2004-04-20 Thread Wiggins d Anconia
> > All, > > I am a total n00b to perl and have decided to write my own file upload > script for a task I have to do. It is my intention to use CGI to accomplish > to allow users to upload a file through a webpage. I do not quite understand > the process, and thought it would be similar to the p

Perl File Uploading

2004-04-20 Thread John Pretti
All, I am a total n00b to perl and have decided to write my own file upload script for a task I have to do. It is my intention to use CGI to accomplish to allow users to upload a file through a webpage. I do not quite understand the process, and thought it would be similar to the php function cop