Just a quick thought: This can happen if the file starts with a CTRL-Z and you didn't use binmode() under Win32.
If you don't know that the file(s) you are dealing with will be just text, then you should use binmode(). Unfortunately, binmode() is a no-op under Unix so it doesn't get used much and the fact that this is a problem doesn't get noticed much.
- tye (but my friends call me "Tye")In reply to Re: Windows NT CGI File Upload Problem
by tye
in thread Windows NT CGI File Upload Problem
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |