The address from which the connection is made must be in list of allowed (alternatively, access restrictions can be completely disabled, but this is not recommended).
At least 15 minutes must elapse from the moment the address is added to the list of allowed addresses.
The connection must be made in passive mode (instructions for switching on: FileZilla, Total Commander).
To avoid corrupting the content of some files (for example, JavaScript files), use the binary transfer mode (instructions to include: FileZilla, Total Commander) or upload files in zipped form and unpack them on the hosting using filemanager.