matrix0511
asked on
How can I use Filezilla to open Unix files without adding bad characters?
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 filezilla...save 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.
Thanks!
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.
Thanks!
First, do Not use Wordpad for plain text, RTF is it's main format which will corrupt plain text. I recommend PSPad http://www.pspad.com/ which will recognize the correct format and line endings and not add anything it shouldn't.
ASKER
@DaveBaldwin, how do I use pspad with Filezilla??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Apologies matrix, I misread your question.
To fix this on the Linux side, you can install 'dos2unix' and use that to strip the extra carriage returns / line feeds.