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
[FEATURE REQUEST] allow targeting directories in SAF #3339
Comments
This feature means ownCloud to be visible when an app asks for I think that giving persistent access to an ownCloud directory could lead to security problems. Furthermore, this article states that it should not rely on network access:
So, I think that a way to accomplish this, would be that external apps perform a backup, store it somewhere in the local storage, and then ownCloud will upload the files to the server in a secure way. It would be pretty similar to current camera uploads but for any file format, not only images and videos. |
Being able to do backups is just a single use case, but for example, if you need to set a folder for INPUT rather than OUTPUT from owncloud (ex: I want to scan the book folder that is inside owncloud from a book app) then since scoped storage prevent a direct link to be created to the already synced files, not being able to set a folder completely wall off the data other app despite of what the user is trying to do |
@abelgardep Btw, I played around to make it work, but this
I've no clue how to fix it and this security-thingy is just a pain in the a.. I don't need it |
@abelgardep A lot of guys want access to there own files and want a open solution ! Please give me a hint how to make ownCloud open, probably configurable ? |
Hello @hannesa2, on the other issue I pointed you to read a little article about the DocumentsProvider, so you could gather information about it and know its restrictions.
This is from the article I recommended you reading here Try adding the Let me know if you need something else 🍻 |
@abelgardep Yes ! With your help, I can open tree from other app 👍 When I select directory, I can access content 👍
A: but when I try to open it Do you know what's wrong here ? Maybe it's somehow off topic, but I guess there are several guy, who are interested in. |
Is your feature request related to a problem? Please describe.
It would be a useful enhancement if other apps could push files to the ownCloud app without the user having to actively intervene. This could be an app that uses ownCloud as a storage backend for backing up user settings, or an app that uses ownCloud as a work directory.
Additional context
In this screencast you can see that I am capable of accessing onwCloud normally when using the Android files app. However when I want to set a target directory for OandBackupX you can see it is not visible as possible provider.
clip.mp4
TASKS
PR
The text was updated successfully, but these errors were encountered: