[FTP] error: SetModTime is not supported

What is the problem you are having with rclone?

when im uploading files to an ftp i get the error "SetModTime is not supported"

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-92-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

the ftp runs over glftpd

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy /home/user/test/ ftp:test --no-update-modtime --progress

The rclone config contents with secrets removed.

[ftp]
type = ftp
host = ip.ip.ip.ip
user = Matze
port = ****
pass = TWiahSYEeLT4RCIRNPvk1x7zF-76
concurrency = 3
disable_tls13 = true

A log from the command with the -vv flag

2022/01/27 22:52:12 DEBUG : Creating backend with remote "/home/matze/test/"
2022/01/27 22:52:12 DEBUG : Using config file from "/root/.config/rclone/rclone.                                                                                                             conf"
2022/01/27 22:52:12 DEBUG : Creating backend with remote "ftp:Matze"
2022/01/27 22:52:12 DEBUG : ftp://ip.ip.ip.ip4/Matze: Connecting to FTP serv                                                                                                             er
2022-01-27 22:52:12 DEBUG : ftp://ip.ip.ip.ip/Matze: Waiting for checks to                                                                                                              finish
2022-01-27 22:52:12 DEBUG : ftp://ip.ip.ip.ip/Matze: Connecting to FTP serv                                                                                                             er
2022-01-27 22:52:12 DEBUG : ftp://ip.ip.ip.ip/Matze: Waiting for transfers                                                                                                              to finish
2022-01-27 22:52:12 DEBUG : ftp://ip.ip.ip.ip/Matze: Connecting to FTP serv                                                                                                             er
2022-01-27 22:52:13 ERROR : ftp://ip.ip.ip.ip/Matze: SetModTime is not supp                                                                                                             orted
2022-01-27 22:52:13 ERROR : ftp://ip.ip.ip.ip/Matze: SetModTime is not supp                                                                                                             orted
2022-01-27 22:52:13 INFO  : test/file.txt: Copied (new)
2022-01-27 22:52:13 INFO  : test/file.nfo: Copied (new)
2022-01-27 22:52:13 ERROR : ftp://ip.ip.ip.ip/Matze: SetModTime is not supp                                                                                                             orted
2022-01-27 22:52:13 INFO  : test/file.jpg: Copied (new)
2022-01-27 22:52:13 ERROR : ftp://ip.ip.ip.ip/Matze: SetModTime is not supp                                                                                                             orted
2022-01-27 22:52:14 INFO  : test/file.mkv: Copied (new)
2022-01-27 22:53:14 DEBUG : ftp://ip.ip.ip.ip/Matze: closing 2 unused connections

hi, did you search the forum?
https://forum.rclone.org/t/ftp-backend-setmodtime-550-not-enough-privileges/28551

yes, but i did not found a solution yet

ok, i suggest that you edit the title, add that the issue is about FTP

1 Like

maybe try,
--size-only

do not work. :confused:

ok, now time to get some good debug info, as we have some ftp experts.

copy a single file so that debug log will be small,
add --dump bodies

https://github.com/rclone/rclone/pull/5638

Note that, despite the scary looking message, this isn't actually an ERROR and everything works just fine with that message.

@ivandeex maybe we should make this a bit less scary? It probably only needs to be emitted once per backend also.

1 Like

okay thank you verry much. would be great if you could make it a little bit less scary ^^

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.