Creating on the fly HTTP remote

What is the problem you are having with rclone?

Unable to create on the fly http remote, the example in the documentation doesn't seem to work for me. HTTP Remote

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

rclone v1.58.1
- os/version: debian 9.13 (64 bit)
- os/kernel: 4.9.0-17-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.9
- go/linking: static
- go/tags: none

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

not using a cloud service, using http remotes

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

rclone lsd :http,url='':

A log from the command with the -vv flag

2022/05/02 18:36:16 DEBUG : rclone: Version "v1.58.1" starting with parameters ["rclone" "lsd" ":http,url=" "-vv"]
2022/05/02 18:36:16 DEBUG : Creating backend with remote ":http,url="
2022/05/02 18:36:16 DEBUG : :http: detected overridden config - adding "{12IvX}" suffix to name
2022/05/02 18:36:16 DEBUG : Using config file from "/home/localadmin/.config/rclone/rclone.conf"
2022/05/02 18:36:16 DEBUG : Assuming path is a file as HEAD request could not be sent: Head "//": unsupported protocol scheme ""
2022/05/02 18:36:16 DEBUG : If path is a directory you must add a trailing '/'
2022/05/02 18:36:16 DEBUG : Root: //
2022/05/02 18:36:16 DEBUG : fs cache: adding new entry for parent of ":http,url=", ":http{12IvX}://"
2022/05/02 18:36:16 ERROR : : error listing: error listing "": internal error: readDir URL "" didn't end in /
2022/05/02 18:36:16 DEBUG : 2 go routines active
2022/05/02 18:36:16 Failed to lsd with 2 errors: last error was: error listing "": internal error: readDir URL "" didn't end in /


rclone lsd ':http,url="":'
          -1 1969-12-31 19:00:00        -1 branch
          -1 1969-12-31 19:00:00        -1 test
          -1 1969-12-31 19:00:00        -1 v1.56.0

@asdffdsa Which version of rclone are you using?

that example at, that is for windows, not linux

this also works
rclone lsd ":http,url='':"

and is documented at

Oh is it, I don't recall seeing that mentioned anywhere.

Also the second example you gave works for me.

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