(I haven't been able to fully apply the template because I don't really know enough about the situation.)
What is the problem you are having with rclone?
I am not sure how to use it with a 3rd party Sharepoint link shared via email.
Basically, I have a link to a Sharepoint site that looks like (redacted):
https://somebusiness.sharepoint.com/:f:/s/portal/[bunch of base64 looking stuff and query string data]
It was emailed to me. I am not an employee of this business, I have no login for any other services for them. When I open the link for the first time, it prompts me to enter the email address it was sent to, and sends me a code. I enter the code, I can access the Sharepoint folder. After opening, the URL looks like:
https://somebusiness.sharepoint.com/sites/portal/[more readable path to document storage plus query string data]
I can upload stuff, download, delete, whatever. But it's frustrating. If I update things in subfolders, it's easy to lose track of. But nuking the entire thing and reuploading from a local directory is also a slow process. I mean, we all know why rsync and rclone were created, right?
But I have no idea whether this can be dealt with by rclone, or how. Or even what it's called, so I can Google it. "Sharepoint direct link"? "Sharepoint email link"? There's no button or menu on the Sharepoint interface to link it to eg. a OneDrive account.
I tried:
- WebDAV (option 51)
https://somebusiness.sharepoint.com/sites/portal/
as the URL- vendor "other" (option 7)
- my email address as the username
But I have no idea how to authenticate. Is it password? Bearer token? I tried the emailed code as a password, and when I run rclone lsd SomeBusiness:
I get:
2024/06/22 19:39:45 ERROR : : error listing: couldn't list files: 403 FORBIDDEN: 403 Forbidden
2024/06/22 19:39:45 Failed to lsd with 2 errors: last error was: couldn't list files: 403 FORBIDDEN: 403 Forbidden
I can also try rclone lsd SomeBusiness:Customer/Redacted/Something
and get:
2024/06/22 19:44:33 Failed to create file system for "SomeBusiness:Customer/Redacted/Something": read metadata failed: 403 FORBIDDEN: 403 Forbidden
If I clear the password and use the same code as the bearer token, same output.
Run the command 'rclone version' and share the full output of the command.
rclone v1.66.0
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-11-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Unsure. Sharepoint? WebDAV?
Is this just something that can't be done with rclone? (And if so, does anyone know what I'm dealing with here?) Or is there some way to access this that's not the excrutiating web interface?