J
J
Jupiter Max2019-11-25 10:03:16
1C-Bitrix
Jupiter Max, 2019-11-25 10:03:16

Why is the file not being overwritten on the server via ftp?

Hello. Faced such a problem.
The site runs on Bitrix and lies on a dedicated server. When editing some files, after saving the ftp client issues Could not create file. However, this happens once in a while. I use WinSCP
The server is served by a person who gave the following answer to my question.

You reset the file, it is connected with many things. First of all - you have a bad connection, or rather your provider. When the connection is broken, as I see you use winscp - it creates a new connection, the old one is suspended. the server breaks the connection due to a timeout, which is why we get a file with a zero size.

Perhaps this is so, but I would like to know more opinions, since for several years of work, this happens only on this site.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2019-11-25
@vardoLP

no need to edit files directly on the server - deploy a local copy and work with it, and then merge the final result to the server. you got a pretty good answer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question