I am trying to do something very simple. I have a PDF sitting in my root (I'm on a mac). So, first, I want to upload the pdf from the terminal:
curl -T myPDF.pdf ftp://user:firstname.lastname@example.org/
then, I download it:
ftp email@example.com [then it asks for my password, and I type it] get myPDF.pdf
and this downloads the pdf to my local machine. Then, I open up the PDF, and it's corrupted.
So somewhere in the process of uploading it or downloading it, the PDF gets corrupted. Ideas?