Topic "Uploaded File Missing CR"

Author Message
Elyn Ong
[View user's profile]

Joined: 2014-02-12
Posts: 2
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?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Elyn Ong
[View user's profile]

Joined: 2014-02-12
Posts: 2
Is there any way for me to use TEXT mode without remove the CR?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License