Home Download Buy Blog Forum Support

SFTP Package - Line Endings

SFTP Package - Line Endings

Postby stuartwfuk on Wed Aug 13, 2014 4:16 pm

I'm having an issue with line endings when they are uploaded using FTP to our server. When I was using FileZIlla before, it uses ASCII to transfer the files so the line endings get converted when uploading from my Windows machine to our Linux server. However with the SFTP package this is not happening and it seems to be using Binary mode. Is there any way to change this or a way around this?

Many thanks.
stuartwfuk
 
Posts: 1
Joined: Wed Aug 13, 2014 4:14 pm

Re: SFTP Package - Line Endings

Postby wbond on Fri Aug 15, 2014 12:25 am

stuartwfuk wrote:I'm having an issue with line endings when they are uploaded using FTP to our server. When I was using FileZIlla before, it uses ASCII to transfer the files so the line endings get converted when uploading from my Windows machine to our Linux server. However with the SFTP package this is not happening and it seems to be using Binary mode. Is there any way to change this or a way around this?

Many thanks.


No, you need to configure Sublime Text to use the line endings you want on the server. Dealing with converting line endings means I would need to parse the content of your files, which would open a whole world of hurt dealing with files that have borked encodings.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 21 guests