share_file_with_user error
See original GitHub issueoc.share_file_with_user( "/home/prc/oc/path", "ee14ea28-b869-1036-8080-9dbd8c6b1579@b2drop.eudat.eu");
Gives me following error:
File "test.py", line 19, in <module>
oc.share_file_with_user( "/home/prc/oc/path", "ee14ea28-b869-1036-8080-9dbd8c6b1579@b2drop.eudat.eu");
File "/usr/local/lib/python2.7/dist-packages/owncloud/owncloud.py", line 1246, in share_file_with_user
self._check_ocs_status(tree)
File "/usr/local/lib/python2.
I have around 200 files to share. By GUI it is takes very long time to share each one by hand 😦
[Q] How could I fix this error? Thank you for your valuable time and help.
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Class: Shares - JSDoc - ownCloud
The Shares class, has all the methods for share management. Supported Methods are: Share Management. shareFileWithLink; updateShare; shareFileWithUser ...
Read more >SharePoint 2016 Can't Share files beetwen users. - TechNet
SharePoint doesn't have any errors in Event Viewer. For Example if i try Share different ... User Dart Vaider share file with User...
Read more >Can not decrypt file on mobile client · Issue #1711 - GitHub
Enable encryption. Share file with user. Try download file from mobile client (Android/iOS) Can this problem ...
Read more >Problem with file sharing on LAN - Network - CCM
Hello, I'm having a big problem, I set up a LAN in my house with my desktop ... file sharing or share file...
Read more >Preview a File - HelpDocs
Share: Share file with user or create a link. Download PDF: There are multiple ways to download the original, but only one way...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

After looking at the source code, everything seems to be ready for sharing with federated users. In order to do that, you have to use the keyword argument
remote_user=True.Example:
Be careful with the final
/, it doesn’t work without it ! Hope that helps !Rémi.
A function is missing to share with federated users, to be added later.