From the Net::FTP docs:
binaryTransfer file in binary mode. No transformation will be done.
Hint: If both server and client machines use the same line ending for text files, then it will be faster to transfer all files in binary mode.
Just call it (once) before transferring any files. Something like:
$ftpobj->binary; $ftpobj->get( $inputfile, $outputfile ) or die $!;
In reply to Re^3: Perl ftp
by BrowserUk
in thread Perl ftp
by Chon-Ji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |