FTP ASCII-mode End-of-Line and End-of-File translation?

Is this correct?: When I PUT a file from an FTP client on Windows to an FTP server on Unix, that the FTP server is the party that:

1) translates end-of-file ascii 26 (ctrl-z) to ascii 4 (ctrl-d)?

2) strips/removes from file all 13 (CR) end-of-line characters from the file?

Is it also true that both FTP parties really don't know "who they're talking to?"

The receiving party just has to "fix" the file to make it compatible with the destination OS?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

No, when doing ASCII mode transfers the sender translates from local format to NVT ASCII and the receiving side translates from NVT ASCII to local format.

In NVT ASCII EOR is CRLF, which happens to be what Windows uses nativly, but Unix uses LF.

So when sending from Windows to UNIX Windows  does nothing for a "normal" text file, but Unix changes the CRLF to just LF.

When sending from Unix, Unix changes LF to CRLF and Windows just writes it.

Please note that it does not matter which side is the server.  It is based on sender and receiver.

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
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
File Sharing Software

From novice to tech pro — start learning today.