You seem to be FTPing non-binary data, yet you're setting your FTP handler to 'binary()' mode. Then you're sending the file somewhere that presumably uses different styles of line endings from your system. Linux, Windows, and Mac have different line endings, which is handled by FTP automatically if you use text mode, but not if you use binary mode.
Dave
In reply to Re: New line problem
by davido
in thread New line problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |