Reformatting of .txt files through WinSCP

Posted on 2014-07-14
Last Modified: 2014-07-15
Has anyone ever encountered an issue when using WinSCP to grab a .txt file from an FTP server, the script will slightly change the line formatting of the .txt file? For example, instead of something along the lines of:


WinSCP and the automation script to grab the files will make the .txt file look more like this:

Question by:CPKGDevTeam
    1 Comment
    LVL 57

    Accepted Solution

    I would verify the format of the source file.  I've seen that when you transfer a text file that was created on a non-Windows platform (*nix or OS/X) where the record terminator is something other than CRLF.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
    Let’s list some of the technologies that enable smooth teleworking. 
    This video shows how use content aware, what it’s used for, and when to use it over other tools.
    XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now