Problem exporting pdf files via command line FTP

I'm getting pdf files via command line FTP from a remote server...when I open them I'm getting font errors.  When I get the same pdf files via an FTP gui (specifically, WinSCP) they open just fine.
Any ideas what is causing the font errors when using the command line FTP?  Please help.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Make sure you type bin before the get command?  That could garble it and might default differently on a different FTP client.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Karl Heinz KremerCommented:
I'll second Superdave's advice: PDF is a binary format, and if you use ftp in text mode, it will modify what it considers to be line endings. There are no line endings in a binary file, so the file ends up being corrupt.
Most command line ftp programs that I've used over the decades default to text or ASCII mode, which means that you need to first switch them to binary mode (with the bin command).

Chances are that there is more broken in your PDF than just the fonts.
MariaHaltAuthor Commented:
Yep, that was it.  Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.