Apologies this must have been asked before... I have setup rclone to connect to my organization's OneDrive system. A collaborator within the same organization has sent me a link to a file to download, the link looks like this (anonymized):
For now, I have used the web interface of OneDrive to copy the linked file to my personal folder and then I used rclone to download locally with this command:
rclone copy remote:MyStuff/filename.zip ./
Is there a more direct way without passing by the copy to my space?
Thanks!
This is using:
rclone version
rclone v1.53.1
- os/arch: linux/amd64
- go version: go1.15
Harry - thanks for getting back to me. I tried various combinations of "rclone copy" and wget appending &download=1 as you suggest but none of them worked with various errors. Can you post an example of how you would do it?
If it matters, the file is shared in mode "anyone within the organization with this link can edit".
That's why it's not working. The files shared within the organization, so onedrive needs to verify you belong to the same organization which requires authentication.
Rclone can't do password based http authentication in onedrive. If the file is shared with "Anyone with the link can view" then onedrive won't verify anything and rclone should work fine.