Put $ftp->binary() before the transfer. From the tests I ran on Linux <-> Linux it would default to an ascii transfer. And running ftp direct, defaulted to binary.
update: Hmm. A few questions/observations
In reply to Re: NET::FTP truncates files
by lemming
in thread NET::FTP truncates files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |