• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 522
  • Last Modified:

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!
0
matrix0511
Asked:
matrix0511
  • 2
  • 2
1 Solution
 
PapertripCommented:
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.
0
 
Dave BaldwinFixer of ProblemsCommented:
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.
0
 
matrix0511Author Commented:
@DaveBaldwin, how do I use pspad with Filezilla??
0
 
Dave BaldwinFixer of ProblemsCommented:
Install PSPad and then open Filezilla and change the settings as shown in the picture below.
FilezillaEdit.jpg
0
 
PapertripCommented:
Apologies matrix, I misread your question.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now