What is the problem you are having with rclone?
Trying to use copyurl since this is the best logical command and im getting the unauthorized error. I need to sign into the website with my username and pw but not sure how to use with rclone. tried signing in with chrom before running the command and didnt work
What is your rclone version (output from rclone version
)
rclone v1.52.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Which cloud storage system are you using? (eg Google Drive)
Http
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copyurl https://myusername.lw983.usbx.me/files local:/disks/HDD/-PiDownloaded/RcloneDownloaded --error-on-no-transfer --transfers 1 --progress
The rclone config contents with secrets removed.
[drive]
type = drive
client_id = 61379086685-rfrmqvkakvl60osigbpa4ek0pi3r0k4g.apps.googleusercontent.com
client_secret =
scope = drive
token = {"access_token":"ya29.a0AfH6SMC8eChFyTyNGxOpFXrxWHIdgS6-yPnMt2eJOVVMlrVwSn8WS4_HXwImv_QkT60BaFkVXfd4ywq4wk9Iirxqn7CwCzhSDSpkqOMdxRTVpaTCGMfszVliyzUnH76V1TQp61BlohFIjcsEMsZpY4zGCZDOKzSTuQRiCg","token_type":"Bearer","refresh_token":"1//06NuNMJSbFtdfCgYIARAAGAYSNwF-L9Ir0VVRZQ5JfAMZGG3zeFo49ibzGwghLl98QOKEuYM-UMCTYEFKxYI5oXL2BYws5YesySI","expiry":"2020-09-07T22:47:01.35919393-07:00"}
team_drive = 0AGnvsIcTBKZJUk9PVA
[local]
type = local
A log from the command with the -vv
flag
https://pastebin.com/ivx77Xjv
calisro
(Rob)
September 8, 2020, 5:48pm
2
I believe you can just embed as part of the url.
rclone copyurl https://USERNAME:PASSWORD@myusername.lw983.usbx.me/files local:/disks/HDD/-PiDownloaded/RcloneDownloaded --error-on-no-transfer --transfers 1 --progress
I tried this as i seen another user mention this. It unfortunately does not work for me. I still get the 401 unauthorized error
calisro
(Rob)
September 8, 2020, 5:56pm
4
I did just test it and it does infact work for normal auths. I'd guess the website is doing something different.
calisro
(Rob)
September 8, 2020, 6:01pm
5
If the site uses cookies, you can probably do this:
--http-headers
and set the cookies. or use --use-cookies
This I tried using mobile data,
Different network all together.
Tried this with another:
19CS91R08@cpusrv-xeon-66:~$ rclone ls :http: --http-url https://srv05.erai-ddl.info/2019/Summer/Vinland%20Saga/ --use-cookies -vv --dump bodies
2019/08/12 17:04:31 DEBUG : rclone: Version "v1.48.0-157-ga1263e70-beta" starting with parameters ["rclone" "ls" ":http:" "--http-url" "https://srv05.erai-ddl.info/2019/Summer/Vinland%20Saga/" "--use-cookies" "-vv" "--dump" "bodies"]
2019/08/12 17:04:31 DEBUG :…
Will keep this is mind. Im trying something else with the first mentioned command and now im getting "local:/disks/HDD/-PiDownloaded/RcloneDownloaded/" is a directory as an error. my full command is
rclone copyurl https://username:pass@user.lw983.usbx.me/local/ local:/disks/HDD/-PiDownloaded/RcloneDownloaded/ --error-on-no-transfer --transfers 1 --progress
Wouldnt the syntax make sense though?
calisro
(Rob)
September 8, 2020, 6:48pm
7
copyurl copies a file and not a folder though.
You can use the http remote though...
rclone copy :http: --http-url https://username:pass@user.lw983.usbx.me/local/ local:/disks/HDD/-PiDownloaded/RcloneDownloaded/
using this give this:
Failed to copy: error listing "": directory not found
calisro
(Rob)
September 8, 2020, 7:18pm
9
Then the site isn't compatible. We can't see the site so it's hard to tell you.
Thanks for trying. Ill try figuring something out. I appreciate your time!
system
(system)
Closed
November 8, 2020, 3:24pm
11
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.