-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement OneDrive shared with me #4062
Comments
This would probably be a relatively easy addition - what do you think @Cnly ? Do you want to help implement this @Dibbyo456 ? |
Capability to list shared files will of course be great and welcome! But AFAIK shared items in OneDrive for Business don't show up in the user's drive root. Does that mean they'll only be accessible when this new flag is supplied? |
That is the way the equivalent |
Hi, hello guys, just for information.. is this feature being constructed? We need it real bad here. |
We are currently looking for a volunteer to implement - maybe that could be you @rodrigorrm |
That is interesting. The shared folder is probably reachable with microsoft graph too - if it is then you can configure rclone with it. |
I don't have an idea how to use that URL for graph. Isn't that supposed to be used for WebDAV? |
Any movement on this issue? I'm being forced off Box (to OneDrive) at my workplace where I have automation scripts to copy files to and from Box seamlessly. I need to copy to/from OneDrive Shared folders using rclone the same way I did with Box. Any help or suggestions are appreciated. Thank you |
I configure the shared directories to be included in "my OneDrive" and then clone finds it. Drawback of this is, that it required write permissions. |
@pcantalupo we are looking for volunteers to add this if you'd like to help? |
@nafets227 can you elaborate how you did this with code and command line examples? or point me to the documentation on this? Thank you |
@ncw Thank you but I'm not a coder, just a happy and thankful user of rclone. |
@pcantalupo you need to go on onedrive.live.com, select the shared folder and then click on "Add to my OneDrive". After that, it will be copied by clone. |
@nafets227 I am using OneDrive through the University that I work for. I do not have an account on onedrive.live.com. When I go to my OneDrive on the web, I do not have the option "Add to my OneDrive"... rather I have the option to "Add shortcut to My Files". Rclone cannot see these "shortcuts" in my root OneDrive directory. That is what this whole #4062 issue is about. |
Ah then you are probably using OneDrive Business. That's a different implementation :( and I have no experience with it. |
@nafets227 Does it make sense to add a new storage type? Something like:
|
If i remember well current rclone is handling both under the same type. But from my pov it would make things more clear to separate it. |
If anyone needs a fix today, here's a link to software which can sync MS OneDrive Business shared folders . Can confirm. |
@vanplus that is a great workaround. Fancy doing a doc update here? (Click the pencil icon to edit - or send a PR if you prefer). |
@vanplus That has been discussed before and doesn't work with OneDrive Business (just tested again with rclone 1.60.1), which is what this issue is about. |
I just tried this with OneDrive Business (or whatever it's called now) and after using the feature Add shortcut to My Files I can indeed copy files to the directory another user shared with me with rclone copy, and list its contents with rclone lsd and lsl. I am using rclone v1.50.4 on Ubuntu 18.04. Quirks (there may be more):
|
@reinierpost Cannot confirm :( As you can see there are two linked directories and a text file named 'mwe.txt' in the web-browser view, but when rclone is used to list the objects in the directory: the two linked directories cannot be found. |
@reinierpost Can confirm, that's interesting |
It seems to only show "Shortcut" folder when
So, I only see or read/write on |
I can't setup an shortcut... |
Same here. The shortcut doesn't show in the Onedrive UI for me. I also have to mention that I'm not using the business subscription. |
Same. Shortcut not showing on personal onedrive. |
Same boat to me. There are no "Add shorcut to my files" anymore. It seems come from Microsoft side because I tried OneDrive app on iOS and got an error when adding shortcut from shared folder. |
Yes, the option/workaround is not available nowadays for OneDrive personal.
|
At least in my case, testing on debian linux v1.60.1-DEV and OneDrive for Business rclone ls onedrive_business: => does not list shared folders |
OneDrive is in a crisis right now. What I'm about to describe is not unique to me; there are forum posts everywhere about it. At some point in the last two months, the functionality of the "Add Shortcut to My Files" option started creating actual web shortcuts (.url files) instead of essentially symlinking the folder. Then, a few weeks ago, existing oneDrive shared folders started being unceremoniously deleted from people's computers and replaced with the same .url files. All this to say ... I would give a lot for rclone to have a "shared with me" option. I've tried downloading from the web interface of OneDrive but it is a mess. I can't get files to copy without "something went w4rong" errors on every file. I can download zips of batches of files as long as they don't go over 20 GB, but the interface won't actually show me the size of all items selecetd. And of course rclone no longer shows the folder shortcuts either. They're just gone. I don't know if this has been looked at lately but this would be a really good time. I wish I had the coding skills necessary to hack something together but I really don't. Rclone might become one of the only things capable of accessing shared folders in a sane way. |
This has caused me some issues too. Key references: |
I needed to fetch files from a shared Sharepoint drive and had some difficulty configuring rclone, but figured it out in the end. I'll list my steps here in case others find themselves here too.
|
Wow, you're right. Thank you! I'm part of someone else's shared folder called "hard drive", and right now it shows up as a file called "hard drive.url" on Windows. However, if I do something like
Rclone will actually list the directory and allow me to interact with it. Curiouser and curiouser. |
@shawncook Thanks Man! You saved my day :). In my case, I created shortcut of a shared folder in root folder, and |
@shawncook I also found how to do this in onedrive web interface alone. |
Since one or two days the Onedrive Shared Folders are disappeared and not showed anymore. Can you fix it, please? Thank you. |
OneDrive has shared with me listing api, like Google Drive
--drive-shared-with-me
.There is no way to list shared with me files in OneDrive for Business.
Docs: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_sharedwithme?view=odsp-graph-online
API explorer: https://developer.microsoft.com/en-us/graph/graph-explorer
The text was updated successfully, but these errors were encountered: