Dan in CA
If you are working from a windows system you should take a look at winSCP:
I use it to transfer files between my windows system and the Pi. It handles line ending conversion automatically. You can also brows the files on the Pi just like using windows explorer and Open and edit files on the Pi from your windows system.
It is an indispensable tool for me.