Uploaded File Missing CR

Advertisement

Elyn Ong
Joined:
Posts:
2

Uploaded File Missing CR

I have downloaded a file using Text Mode and the i can see with CRLF.
However, when i upload with Text Mode, the CR is missing and left only LF.

I also try to upload as Binary Mode and the content is as per my downloaded file.
May i know whether is there any setup need to be done if upload it using TEXT mode for a text file?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Uploaded File Missing CR

Sorry, I do not understand what the problem is.

If you want WinSCP to alter the file for destination end-of-line convention, use text mode (what seems to work in your case correctly).

If you want WinSCP to transfer the file as is (binary identically), use binary mode.

Reply with quote

martin
Site Admin
martin avatar

Elyn Ong wrote:

Is there any way for me to use TEXT mode without remove the CR?
Converting the line-endings is practically the only point of using Text mode.

Reply with quote

Advertisement

You can post new topics in this forum