Topic "Number of line changes after copying data file"

Author Message
zhang

Guest


I copied a data file with 162500 lines from local Windows PC to a Linux supercomputer using Winscp but found the line number became 162505!!! Shocked I copied it back from Linux to windows, and found the line number became 162500 again!! Laughing This is really strange, but because of this problem, my program which reads the data file would not run on the supercomputer. Crying or Very sad It will be great if you could give me some advice on why this happens and how it can be possibly fixed. Many thanks! Very Happy
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
MY guess is that ascii/text transfer mode is involved. Try to switch to binary 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