in reply to Why do I get a blank file on the receiving end?
In the line where you're printing to the file, try just printing to the terminal instead (instead of
just useprint FILE $_;
Also, is this a binary file? It's possible that you may need to use read instead of the <> operator. And perhaps binmode as well.print $_;
|
|---|