Richard Curtis wrote:
Well, this is what I dont understand :)
if I do "$newFile = $Request->Form('filename')";
"print $newFile";
I get back a filename eg, "test.doc".
The next thing I do is $Session->{uploaded_files} = $newFile;

However... if I do "use Data::Dumper; print Dumper $newFile", I get back...

$VAR1 = bless( \*{'Fh::fh00001test.doc'}, 'Fh' );

The file name on the local server can be accessed via the $Request->FileUpload interface:

  http://www.apache-asp.org/objects.html#%24Request-%3EFi6799fcec

The data in $Request->Form will not give you a good filename.

Regards,

Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to