How can I use Filezilla to open Unix files without adding bad characters?

Posted on 2011-10-24
Last Modified: 2012-06-27
Im trying to use Filezilla to open and edit Unix files. My default editor is Wordpad. But what we have found is whenever I open a file using it. When we go to view the file via command line...using "vi"...we see all these weird characters that were added by the Filezilla editor somehow and it then messes up the entire file makes it unusable.

But I"m someone who is very comfortable opening and editing files from command line. I would prefer to use GUI like Filezilla. Can you tell me how to setup Filezilla so that when I edit and view files it won't mess up the format and throw those weird characters? Even if it means having to use a different Unix GUI tool.

Let me know.

Question by:matrix0511
    LVL 21

    Expert Comment

    To fix this on the Filezilla side, change the transfer mode for all downloads to binary.

    To fix this on the Linux side, you can install 'dos2unix' and use that to strip the extra carriage returns / line feeds.
    LVL 82

    Expert Comment

    by:Dave Baldwin
    First, do Not use Wordpad for plain text, RTF is it's main format which will corrupt plain text.  I recommend PSPad which will recognize the correct format and line endings and not add anything it shouldn't.

    Author Comment

    @DaveBaldwin, how do I use pspad with Filezilla??
    LVL 82

    Accepted Solution

    Install PSPad and then open Filezilla and change the settings as shown in the picture below.
    LVL 21

    Expert Comment

    Apologies matrix, I misread your question.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now