What is the problem you are having with rclone?
When accessing Google Drive using FTP, file timestamps are shown in UTC timezone rather than my local timezone (UTC+12).
What is your rclone version (output from rclone version
)
rclone version is 1.56.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
CentOS 7 (64 bit)
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Starting the FTP server (as root):
# rclone -vv serve ftp googledrive:/ &
2021/08/31 17:17:44 NOTICE: Google drive root '': Serving FTP on localhost:2121
Accessing files with FTP client:
# ftp 127.0.0.1 2121
Connected to 127.0.0.1 (127.0.0.1).
220 Welcome to Rclone v1.56.0 FTP Server
Name (127.0.0.1:root): anonymous
331 User name ok, password required
Password:
230 Password ok, continue
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir Notebook
227 Entering Passive Mode (127,0,0,1,120,181)
150 Opening ASCII mode data connection for file list
-rw-r--r-- 1 root root 5968 May 17 05:03 Notebook-48x48.png
-rw-r--r-- 1 root root 114717696 Aug 31 04:20 Notebook.ctb
-rw-r--r-- 1 root root 114717696 Aug 31 03:11 Notebook.ctb~
-rw-r--r-- 1 root root 114717696 Aug 31 02:44 Notebook.ctb~~
-rw-r--r-- 1 root root 3810 Aug 8 04:23 SafeNotes.ctx
-rw-r--r-- 1 root root 3442 Aug 8 04:23 SafeNotes.ctx~
-rw-r--r-- 1 root root 3442 Aug 8 02:23 SafeNotes.ctx~~
-rw-r--r-- 1 root root 954368 Aug 14 02:59 cherrytree_manual.ctb
-rw-r--r-- 1 root root 11 Aug 31 05:01 last_change
Accessing files using rclone lsl shows the correct timestamps (UTC+12)
# rclone lsl googledrive:/Notebook
11 2021-08-31 17:01:01.724000000 last_change
114717696 2021-08-31 16:20:27.427000000 Notebook.ctb
114717696 2021-08-31 15:11:26.619000000 Notebook.ctb~
114717696 2021-08-31 14:44:26.272000000 Notebook.ctb~~
3810 2021-08-08 16:23:55.580000000 SafeNotes.ctx
3442 2021-08-08 16:23:55.398000000 SafeNotes.ctx~
3442 2021-08-08 14:23:53.961000000 SafeNotes.ctx~~
954368 2020-08-14 14:59:29.000000000 cherrytree_manual.ctb
5968 2015-05-17 17:03:17.000000000 Notebook-48x48.png
The rclone config contents with secrets removed.
[googledrive]
type = drive
scope = drive
token = {"access_token"":"token_type":"Bearer","refresh_token":"","expiry":"2021-08-31T22:02:43.773401458+12:00"}
team_drive =
A log from the command with the -vv
flag
2021/08/31 21:56:49 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "-vv" "serve" "ftp" "googledrive:/"]
2021/08/31 21:56:49 DEBUG : Creating backend with remote "googledrive:/"
2021/08/31 21:56:49 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/08/31 21:56:49 DEBUG : Google drive root '': 'root_folder_id = 0AJSAHpbQvFf9Uk9PVA' - save this in the config to speed up startup
2021/08/31 21:56:49 DEBUG : fs cache: renaming cache item "googledrive:/" to be canonical "googledrive:"
2021/08/31 21:56:50 NOTICE: Google drive root '': Serving FTP on localhost:2121
2021/08/31 21:56:50 INFO : : Rclone FTP Server listening on 2121
2021/08/31 21:57:40 DEBUG : : NewDriver: Init driver
2021/08/31 21:57:40 DEBUG : : >NewDriver:
2021/08/31 21:57:40 INFO : 00f10aa90d8ac96f0d91: Connection Established
2021/08/31 21:57:40 INFO : 00f10aa90d8ac96f0d91: < 220 Welcome to Rclone v1.56.0 FTP Server
2021/08/31 21:57:47 INFO : 00f10aa90d8ac96f0d91: > USER anonymous
2021/08/31 21:57:47 INFO : 00f10aa90d8ac96f0d91: < 331 User name ok, password required
2021/08/31 21:57:49 INFO : 00f10aa90d8ac96f0d91: > PASS ****
2021/08/31 21:57:49 INFO : 00f10aa90d8ac96f0d91: < 230 Password ok, continue
2021/08/31 21:57:49 INFO : 00f10aa90d8ac96f0d91: > SYST
2021/08/31 21:57:49 INFO : 00f10aa90d8ac96f0d91: < 215 UNIX Type: L8
2021/08/31 21:57:50 DEBUG : Google drive root '': Checking for changes on remote
2021/08/31 21:58:10 INFO : 00f10aa90d8ac96f0d91: > PASV
2021/08/31 21:58:10 INFO : 00f10aa90d8ac96f0d91: < 227 Entering Passive Mode (127,0,0,1,122,98)
2021/08/31 21:58:10 INFO : 00f10aa90d8ac96f0d91: > LIST Notebook
2021/08/31 21:58:10 DEBUG : /Notebook: Stat:
2021/08/31 21:58:10 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: Rate Limit Exceeded, rateLimitExceeded)
2021/08/31 21:58:10 DEBUG : pacer: Rate limited, increasing sleep to 1.726496986s
2021/08/31 21:58:11 DEBUG : pacer: Reducing sleep to 0s
2021/08/31 21:58:11 DEBUG : My Saved Places: Ignoring unknown document type "application/vnd.google-apps.map"
2021/08/31 21:58:11 DEBUG : /Notebook: >Stat: fi=&{FileInfo:Notebook/ mode:2147484141 owner:0 group:0}, err = <nil>
2021/08/31 21:58:11 DEBUG : /Notebook: ListDir:
2021/08/31 21:58:13 DEBUG : /Notebook: >ListDir: err = <nil>
2021/08/31 21:58:13 INFO : 00f10aa90d8ac96f0d91: < 150 Opening ASCII mode data connection for file list
2021/08/31 21:58:13 INFO : 00f10aa90d8ac96f0d91: < 226 Closing data connection, sent 719 bytes
2021/08/31 21:58:50 DEBUG : Google drive root '': Checking for changes on remote
2021/08/31 21:59:50 DEBUG : Google drive root '': Checking for changes on remote