in reply to Having an issue with my CGI.pm file uploads
What's the size of the uploaded file? Are you sure it's longer than zero bytes in the temp directory after the upload? Perhaps it's a permissions issue with the upload. Why are you using binmode() on the output but not the input filehandle? You have no counter to see how may times you get lines in your while loop nor any test of the length of the lines. How can you be sure you're not writing exactly what there is to write?open my $output, '>', $localFile || die "Cannot write to $localfile: $!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Having an issue with my CGI.pm file uploads
by technojosh (Priest) on Sep 25, 2007 at 16:49 UTC | |
by mr_mischief (Monsignor) on Sep 25, 2007 at 17:29 UTC | |
by technojosh (Priest) on Sep 25, 2007 at 20:57 UTC | |
by mr_mischief (Monsignor) on Sep 25, 2007 at 21:59 UTC |