For receiving a file I get from a form and am testing it on Xitami ( Win32 ). But the file resulting is just 0 bytes long. I gladly appreciate any help as I really don't have a clue why this is happening. Thank you.open ( UPLOAD, ">$file" ); while ( read ( $data, $buffer , 1024 ) ) { $buffer =~ s/\r//g; print UPLOAD $buffer; } close ( UPLOAD );
In reply to CGI File upload, resulting files 0 bytes long by Mandor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |