A
A
Alexey Verkhovtsev2017-05-19 19:57:37
Windows
Alexey Verkhovtsev, 2017-05-19 19:57:37

I don’t understand why when opening a file via ftp on the server, line breaks are sometimes added to me?

Hello everyone, I open a file through an FTP client and line breaks are added quite often. And scribble code instead of
code ,
code
becomes like this:
code
code
And sometimes it's even better, js is somehow squeezed into one line, in general, miracles of science, who has come across? Tried through sublime, phpstorm, filezilla, winscp

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
my_username, 2017-08-21
@my_username

Understood. The reason is in the data transfer mode. If you load in the "Text" transfer mode, then the rules are loaded. This post helped - https://phpclub.ru/talk/threads/ftp-and-glitches-upload...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question