What is the problem you are having with rclone?
Thank you for developing this tool! I am happy to report that Rclone works great for files and folders relative to my own Box folder. However, I want to use rclone to copy files shared by someone relative to their folder. I've seen backend commands for Google Drive, but these don't work for Box.
For example:
Sorry, I am not able to properly share links even from this forum.
https://forum.rclone.org/t/how-do-i-copy-files-from-public-gdrive-links-to-my-gdrive-account/20872
This unfortunately doesn't work on Box as Box doesn't support backend commands.
I've also found this solution that copies from a shared link to a destination:
https://forum.rclone.org/t/copy-shared-link-from-onedrive-to-local/20669
If I use the shared link from Box, I get 3 errors about enumerating files/folders (although these are visible and downloadable through the browser).
I've tried to play with folder IDs and truncated portions of the shared URL. For example, /s/longID/folder/ID form... I've tried using longID as in remote:longID ... or I tried to use --box-root-folder-id with the ID from one of the shared files. No such luck.
What is your rclone version (output from rclone version
)
rclone v1.53.1
- os/arch: linux/amd64
- go version: go1.15
Which OS you are using and how many bits (eg Windows 7, 64 bit)
RedHat Enterprise 7.9
Linux 3.10.0-1160.11.1.el7.x86_64
Which cloud storage system are you using? (eg Google Drive)
Box
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
This is what I am trying to figure out.
Something like this doesn't work:
rclone copy remote:https://box.shared.folder.from.other.account/ temp/
Copying a link of the files/folders into my folder and then sharing this publicly doesn't work either.
The rclone config contents with secrets removed.
Paste config here
I'm sorry, I think a lot this might be sensitive information. Which bits of the config can I safely provide that are not sensitive?
A log from the command with the -vv
flag
I'm not sure what command I should run to begin with. Even still, I need to be careful what I actually share.
Here's an example of trying to copy shared folders/files using my credentials from remote:.
2021/02/26 10:53:48 DEBUG : Using config file from "/home/XXX/.config/rclone/rclone.conf"
2021/02/26 10:53:48 DEBUG : Creating backend with remote "remote:https://box.shared.folder.link"
2021/02/26 10:53:48 DEBUG : Creating backend with remote "PartA"
2021/02/26 10:53:48 DEBUG : fs cache: renaming cache item "PartA" to be canonical "XXX"
2021/02/26 10:53:49 ERROR : : error reading source directory: directory not found
2021/02/26 10:53:49 DEBUG : Local file system at XXX: Waiting for checks to finish
2021/02/26 10:53:49 DEBUG : Local file system at XXX: Waiting for transfers to finish
2021/02/26 10:53:49 INFO : There was nothing to transfer
2021/02/26 10:53:49 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2021/02/26 10:53:49 ERROR : : error reading source directory: directory not found
2021/02/26 10:53:49 DEBUG : Local file system at XXX: Waiting for checks to finish
2021/02/26 10:53:49 DEBUG : Local file system at XXX: Waiting for transfers to finish
2021/02/26 10:53:49 INFO : There was nothing to transfer
2021/02/26 10:53:49 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2021/02/26 10:53:49 ERROR : : error reading source directory: directory not found
2021/02/26 10:53:49 DEBUG : Local file system at XXX: Waiting for checks to finish
2021/02/26 10:53:49 DEBUG : Local file system at XXX: Waiting for transfers to finish
2021/02/26 10:53:49 INFO : There was nothing to transfer
2021/02/26 10:53:49 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2021/02/26 10:53:49 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 4.4s