I'm trying to sync folder with files in to remote FTP server but files .htaccess files are failed!

What is the problem you are having with rclone?

my config is
[test.ru]
type = ftp
port = 21
explicit_tls = false
passive = false
ftp-disable-mlsd = true
ftp-force-list-hidden = true
host = 185.x.x.x
user = ftpuser
pass = *** ENCRYPTED ***

ERRORS
2025/04/14 10:21:03 ERROR : html/.test: Failed to copy: update getinfo: object not found
2025/04/14 10:21:03 ERROR : html/.htaccess: Failed to copy: update getinfo: object not found

2025/04/14 10:21:04 ERROR : Attempt 3/3 failed with 2 errors and: update getinfo: object not found

VERSION
rclone --version
rclone v1.69.0

  • os/version: debian 12.10 (64 bit)
  • os/kernel: 6.1.0-28-cloud-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.4
  • go/linking: static
  • go/tags: none

I added the flags to avoid this bug but it still happened?

It should be:

disable_mlsd = true
force_list_hidden = true

See docs.

I run it corrctly
rclone config create $domain_id ftp host $hostname user $username pass $(rclone obscure $password) port 21 explicit_tls false passive true ftp-disable-mlsd=true ftp-force-list-hidden=true

It was becasuse of the ftp user permissions.
FTP user on remote server doesnt have access to hidden files, so on remote server these files created with names like .htaccess.xxx.partial