What is the problem you are having with rclone?
Can't figure out how to 'pretty format' 'list' files from the remote using rclone serve
. For example, I would like the lsf
or lsjson
output format using rclone serve.
And rclone serve http
just hangs.
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: Microsoft Windows 10 Education 22H2 (64 bit)
- os/kernel: 10.0.19045.4291 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Dropbox.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Note this rclone serve command just hangs and doesn't output anything.
rclone serve http test_dropbox:
Meanwhile, the serve ftp command works and gives me an host.
rclone serve ftp test_dropbox:
2024/05/05 17:08:43 NOTICE: Dropbox root '': Serving FTP on localhost:2121
Trying to GET a file from my remote works correctly. This command returns my file.
curl ftp://localhost:2121/README.txt
I can't figure out how to format LIST response. e.g. test_folder1. The default format gives me a hard to parse response (see below). Anyway to get this to display the lsjson
or lsf
format?
In addition, any way to get extra metadata like MD5?
curl ftp://localhost:2121/test_folder1/
-rwxrwxrwx 1 ftp ftp 2317711 May 6 00:12 README.txt
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
rclone config redacted
[test_dropbox]
type = dropbox
token = XXX
A log from the command that you were trying to run with the -vv
flag
This is the output from rclone serve http (which is the part not working).
rclone -vv serve http test_dropbox:
2024/05/05 17:15:29 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "-vv" "serve" "http" "test_dropbox:"]
2024/05/05 17:15:29 DEBUG : Creating backend with remote "test_dropbox:"
2024/05/05 17:15:29 DEBUG : Using config file from "C:\\<redacted>\\AppData\\Roaming\\rclone\\rclone.conf"