Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

FranciscoMarconi

Thanks

@Knocks: Thank you!
Knocks

This issue baffled me too for a while, and I even filed a support ticket with my host. The fix was pretty easy, all you need to do is uncheck the box on the attached screenshot.

Martin, you might want to disable this setting by default for external editors in future versions.
martin

@dzoniboj: Thanks for the log. Can I get a test account on your server?
Guest

I went to transfer options, it was binary, I set it to text, and it seems to be ok now.
dzoniboj

I enabled logging, connected and directly opened a certain file with blank lines in it.

Hopefully that did it.
martin

Please attach a full log file showing the problem (using the latest version of WinSCP). I.e. connection, open the file in editor and save it.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Guest

FTP
martin

Re: Same problem

@dzoniboj: What protocol? SFTP or FTP?
dzoniboj

Same problem

I am having the exact same problem, and it just started happening recently.

I've been using WinSCP for around 8 months with no problems like this.

I use Sublime text editor and edit html, css and php files.

What can be done?
martin

Re: Editor creates blank lines

What version of WinSCP are you using? What editor do you mean? The internal one? What is your server? What is your configuration of End-of-line characters?
fanta

Editor creates blank lines

Has anyone realised that editor causes empty spaces in html/php/css etc. files? Everytime I open my files – under each line of text appears empty line, so after opening the same file many times I have lots of empty spaces between each line of code... Does anyone have the same problem? How to solve this?

Thanks.

Example:
#header {
 
 
 
   width: 750px;
 
 
 
   height: 140px;
 
 
 
   float:left;
 
 
 
   background-color:#FFFFFF;
 
 
}