in reply to Yet another file uploading problem.

This comes straight from the camel's mouth (page 685, para 1):
binmode binmode FILEHANDLE, DISCIPLINES binmode FILEHANDLE This function arranges for the FILEHANDLE to have the semantics specified by the DISCIPLINES argument. If DISCIPLINES is omitted, binary (or "raw") semantics are applied to the filehandle.

TStanley
In the end, there can be only one!