You may just need to add $ftp->binary(); before sending the files over. Otherwise it may be using text mode which may translate your \n to \r\n or vice versa.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Sizes of copied files are not right
by roboticus
in thread Sizes of copied files are not right
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |