Not preserving timestamps S3, FTP... + FTP issues


#1

I’ve created my first jobs for rclone, & I notice its not preserving timestamps on both S3 & FTP targets. Also, I see some errors in the log when its working with FTP, that don’t occur with S3:

Foo.pdf: Failed to copy: Put mkParentDir failed: 250 Directory has been created.

…And:

2018/08/02 11:04:55 INFO  : ftp://ftp.ftpprovider.com:21/user/files/path/path/path: Waiting for checks to finish
2018/08/02 11:04:55 INFO  : ftp://ftp.ftpprovider.com:21/user/files/path/path/path: Waiting for transfers to finish
2018/08/02 11:05:03 INFO  : 
Transferred:   820.719 MBytes (50.561 kBytes/s)
Errors:                 1
Checks:            331112
Transferred:          303
Elapsed time:   4h37m1.9s

2018/08/02 11:06:03 INFO  : 
Transferred:   820.719 MBytes (50.378 kBytes/s)
Errors:                 1
Checks:            331112
Transferred:          303
Elapsed time:   4h38m1.9s

2018/08/02 11:06:20 ERROR : path/path/path/path/path/path: Failed to Mkdir: 250 Directory has been created.
2018/08/02 11:07:03 INFO  : 
Transferred:   820.719 MBytes (50.198 kBytes/s)
Errors:                 2
Checks:            331112
Transferred:          303
Elapsed time:   4h39m1.9s

2018/08/02 11:08:02 ERROR : ftp://ftp.ftpprovider.com:21/user/files/path/path/path: not deleting files as there were IO errors
2018/08/02 11:08:02 ERROR : ftp://ftp.ftpprovider.com:21/user/files/path/path/path: not deleting directories as there were IO errors
2018/08/02 11:08:02 ERROR : Attempt 3/3 failed with 2 errors and: Put mkParentDir failed: 250 Directory has been created.
2018/08/02 11:08:02 Failed to sync: Put mkParentDir failed: 250 Directory has been created.

#2

How do you see that timestamps aren’t being preserved? With S3 rclone sets some metadata which rclone understands when reading files back. FTP doesn’t support setting timestamps though.

Can you try the latest beta - I think that might be fixed already.


#3

I’m not sure I understand when you say why the FTP timestamps cannot be set. When I was using SyncBack Pro the files uploaded via FTP would keep the same timestamps as the local source file.

This here is an example of the problem:

In this case the pic’s name includes its creation date, but the timestamp on the file is the day the rclone job ran.


#4

Rclone doesn’t support setting FTP timestamps yet would be a better statement.

It is possible but it isn’t very well standardized :frowning:

There is an issue about this already: https://github.com/ncw/rclone/issues/2384

Would you like to help with that?