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' );

I am lost.

Any thoughts ?
Richard

I think I understand.

does $newfile contain the filename before being put into the $Session? I guess I'm just not sure whats failing.. Is it the $Request->Form('filename') ?

Richard Curtis wrote:

Errrr....
I dont do it like this.
I post into the page, then "my $newFile = $Request->Form('filename')" gives me the handle/filename.

I upload the file (using a perl function I wrote), then afterwards, set $Session->{new_file} = $newFile;

I do all of the upload manually. I have a perl function in a module which reads from $newFile, and puts the data where I want it.

Richard




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

Reply via email to