You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment with version 1.3.12 on Android 2.3.6 the ownCloud client seems to sync with a hardcoded folder at /sdcard/owncloud.
On my phone /sdcard points to the internal memory of the phone, which is quiet small.
Please add an option to set the syncing target directory in the client.
Reacted by motofix, Spencer Bliven, 谢东平 Dongping Xie, maxim-kukushkin, GV - Consultoria em TI, 1mi, Fiona Burcombe, Jeff Siddall, Yorik Hansen, bombaata and 2 more
This is a problem on Android side, because we are using getExternalStorageDirectory to get external memory of device.
But as you can read in docs " Traditionally this is an SD card" means that it should point to SD card, but it's not mandatory.
The most obvious way to solve the issue: Just let the user decide in the settings menu what path to use (with a proper presetting). But this most probably occurred to you already ;-).
Same here. I still have enough memory on my internal SD-Card of my tablet (Medion Lifetab P9514 with Android 4.0.3) but I definitely want to put the directory on the external SD-Card. On my Android phone (Alcatel One Touch 918D with Android version 2.3.5) I have no chance to use owncloud because the internal memory is very small, but putting the directory onto the external SD-card would solve the problem.
If this issue will eventually get resolved then some security problems arises.
Because in non rooted phones internal memory in encrypted, which isin't true for external memory.
Most of users are not aware of this and might falsely accuse OC of uncarefull data handling, which is a bad thing.
I have a Sony Xperia Z Ultra which also has this problem, where files are stored in /storage/emulated/legacy/owncloud which is local. I need it to use /storage/removable/sdcard1/owncloud instead. I've sadly just hit the point where I can no longer use ownCloud due to this space limitation.
Regarding encryption, I can confirm that my device did give me the option of additionally encrypting the SD card during the encryption stage, which I have done (and verified on a computer that the SD card cannot be mounted). I don't know if that was a Sony thing or a native Android function in newer Android versions, but I agree that it shouldn't be a concern of the ownCloud project either way.
to bring this issue back on a current Status: this enhancement is still required
Samsung Galaxy with required WiFi etc. Features is only available with 16 GB internal Memory - and the users already have got approx. 18 GB of data in ownCloud...
TL;DR: ownCloud app is now even more useless than before. If before, you could have used it to sync your work between devices, although it took space on your internal flash and you had to repeatedly purge local storage, now all you can do is stare at it. No apps can access the files in the cloud without additional pressure from outside the app (i.e. using some kind of exporter to get the files out of the storage).
You failed to read the terms under which Google requires applications to use scoped storage.
It is required for applications that only store what they create only for their own use. If the result should be used outside the app in question, scoped storage is not the right choice.
Sorry, but… uninstalled. It was good five years waiting for a better app, which apparently will never come.
Reacted by Thomas Rokicki, Jean-Pierre MCh and Adam Bolte
Agree with @AnrDaemon !
Scoped storage is a mess for synced files. For example, I use ownCloud to sync my password database (a keepass file). When I want to sign in a website with keepass, I have to open ownCloud app, find my keepass file, open it from here and share it with keepass app. And that, each time I want to sign in a website. And it is impossible for keepass to add new password (I can but the file does not sync back to the owncloud server). Keepass provide a useful keyboard to enter easily password, but this widget does not find the keepass database...
Since scoped storage, it is really impossible to use files on the phone.
Before, I was recommanding to use owncloud to my friends and even customers, now, I say that I have no viable solution and let them share all their stuff with Google.
Letting users choose the kind of storage (scoped or external) would be great
We also had dozens of users complaining about use cases not working anymore. They were used to being able to access their files from other apps (pictures, pdf, password safes, etc). I also would like to see this configurable or the old way.
Reacted by Jean-Pierre MCh, Adam Bolte and aclrian
I just upgraded phones yesterday and along with it came a new Android version (9 to 13) and a new ownCloud App version. I completely understand that this Scoped Storage change is all in the name of privacy, and that Android is mandating a certain level of adoption, but this has destroyed my use-case for using the App and ownCloud. I specifically used this as a file transfer mechanism between my phone and PC, and now it no longer performs the only single function for which I used it. I know enough to say that I don't know how to solve this. But being unable to access files from other apps makes this app worthless to me.
All I really want to do is be able to long-press on a file and select "Download to..." and dump it in my "Downloads" folder. That way I can do with it whatever I see fit.
Hey @riversdev0! Thanks for your comment here!
Let's see if I understood correctly: I see you use the app as a transfer tool between your smartphone and your PC, and you say now you cannot perform this task due to scoped storage. If the direction was phone -> PC, I guess you can continue adding files from your app and then downloading them from the web client in your computer, regardless scoped storage. If the direction was PC -> phone, we have some changes in the procedure, for this and the other case you mention. Scoped storage makes your app files non-accessible from other apps BUT from the document provider implemented by other apps. This is why you can use apps that implement directly this document provider to be able to manage the files from your device (included the ownCloud ones), for example, Files.
In fact, we are now developing a new feature that adds a direct link to this app from the settings 😁 (#4028):
I hope I could solve your doubts, don't hesitate to ask again if you have any other problem! 🍻
Hi @jesmrec and @JuancaG05 - I appreciate your feedback. Thanks for your the suggestion of using the "Files" app. My phone had the Samsung "My Files" app already installed, but Samsung apparently doesn't implement the document provider because that app can't see oC as an available file system. Using the app you suggested, I can now copy the files to a folder on the phone and use them in other apps. Thank you so much!
Hi @riversdev0! Exactly, the Samsung app "My files" (and any other file browser app by any device brand) doesn't implement the Android native file browser, the document provider. That's why we need to look for another solution such as the app we suggested to you. I'm glad you could solve your problem, if you need anything else we're at your disposal 🚀
🤖 Automated issue triage by Claude Code review agent.
This issue was opened before 2020 and has had no activity since then, so we are
closing it as outdated. If this is still relevant on a current ownCloud release,
please reopen (or open a fresh issue) with up-to-date details — thank you!
Activity
rperezb commentedon Nov 5, 2012
Thanks for the suggestion.
We will include it to the product backlog.
davivel commentedon Nov 5, 2012
Thanks, mokasin. The path is not hardcoded, but it's true we can improve the way it's handled.
Could be helpful that you told us what model is your device.
przybylski commentedon Nov 5, 2012
This is a problem on Android side, because we are using getExternalStorageDirectory to get external memory of device.
But as you can read in docs " Traditionally this is an SD card" means that it should point to SD card, but it's not mandatory.
mokasin commentedon Nov 5, 2012
It's a Samsung Galaxy Ace 2 (GT-I8160).
The most obvious way to solve the issue: Just let the user decide in the settings menu what path to use (with a proper presetting). But this most probably occurred to you already ;-).
Thank you very much.
ElGranLoky commentedon Jul 7, 2013
Same problem,
With >= 4.2.2 is mandatory, becouse android now emulated the memory, and sdcard start to point always to the internal memory of the phone.
guiyou65 commentedon Sep 8, 2013
Same request for me (samsung gt-i8160 Android 4.1.2). It would be nice if we have the choice.
Franz47 commentedon Oct 2, 2013
Same here. I still have enough memory on my internal SD-Card of my tablet (Medion Lifetab P9514 with Android 4.0.3) but I definitely want to put the directory on the external SD-Card. On my Android phone (Alcatel One Touch 918D with Android version 2.3.5) I have no chance to use owncloud because the internal memory is very small, but putting the directory onto the external SD-card would solve the problem.
przybylski commentedon Oct 2, 2013
If this issue will eventually get resolved then some security problems arises.
Because in non rooted phones internal memory in encrypted, which isin't true for external memory.
Most of users are not aware of this and might falsely accuse OC of uncarefull data handling, which is a bad thing.
mokasin commentedon Oct 4, 2013
That's a security flaw in in Android itself. That's hardly addressable by an app.
Best thing, I think, is to point it to the internal memory by default, but give the possibility to choice. That should patronize enough.
boltronics commentedon Jan 2, 2014
I have a Sony Xperia Z Ultra which also has this problem, where files are stored in /storage/emulated/legacy/owncloud which is local. I need it to use /storage/removable/sdcard1/owncloud instead. I've sadly just hit the point where I can no longer use ownCloud due to this space limitation.
Regarding encryption, I can confirm that my device did give me the option of additionally encrypting the SD card during the encryption stage, which I have done (and verified on a computer that the SD card cannot be mounted). I don't know if that was a Sony thing or a native Android function in newer Android versions, but I agree that it shouldn't be a concern of the ownCloud project either way.
jochenwezel commentedon Mar 21, 2014
to bring this issue back on a current Status: this enhancement is still required
Samsung Galaxy with required WiFi etc. Features is only available with 16 GB internal Memory - and the users already have got approx. 18 GB of data in ownCloud...
ralf1070 commentedon Jun 3, 2014
Any news on this? This feature would help a lot.
davivel commentedon Jun 4, 2014
Nothing new, sorry.
Contributions are welcome.
davivel commentedon Jun 6, 2014
@rperezb , @MTRichards , should we consider this for the short / mid term?
144 remaining items
jesmrec commentedon Jan 27, 2022
@AnrDaemon More info here -> https://central.owncloud.org/t/owncloud-2-19-for-android/34952
AnrDaemon commentedon Jan 27, 2022
TL;DR: ownCloud app is now even more useless than before. If before, you could have used it to sync your work between devices, although it took space on your internal flash and you had to repeatedly purge local storage, now all you can do is stare at it. No apps can access the files in the cloud without additional pressure from outside the app (i.e. using some kind of exporter to get the files out of the storage).
AnrDaemon commentedon Jan 27, 2022
You failed to read the terms under which Google requires applications to use scoped storage.
It is required for applications that only store what they create only for their own use. If the result should be used outside the app in question, scoped storage is not the right choice.
Sorry, but… uninstalled. It was good five years waiting for a better app, which apparently will never come.
jpfox commentedon Sep 29, 2022
Agree with @AnrDaemon !
Scoped storage is a mess for synced files. For example, I use ownCloud to sync my password database (a keepass file). When I want to sign in a website with keepass, I have to open ownCloud app, find my keepass file, open it from here and share it with keepass app. And that, each time I want to sign in a website. And it is impossible for keepass to add new password (I can but the file does not sync back to the owncloud server). Keepass provide a useful keyboard to enter easily password, but this widget does not find the keepass database...
Since scoped storage, it is really impossible to use files on the phone.
Before, I was recommanding to use owncloud to my friends and even customers, now, I say that I have no viable solution and let them share all their stuff with Google.
Letting users choose the kind of storage (scoped or external) would be great
Helios07 commentedon Sep 29, 2022
We also had dozens of users complaining about use cases not working anymore. They were used to being able to access their files from other apps (pictures, pdf, password safes, etc). I also would like to see this configurable or the old way.
riversdev0 commentedon May 4, 2023
I just upgraded phones yesterday and along with it came a new Android version (9 to 13) and a new ownCloud App version. I completely understand that this Scoped Storage change is all in the name of privacy, and that Android is mandating a certain level of adoption, but this has destroyed my use-case for using the App and ownCloud. I specifically used this as a file transfer mechanism between my phone and PC, and now it no longer performs the only single function for which I used it. I know enough to say that I don't know how to solve this. But being unable to access files from other apps makes this app worthless to me.
All I really want to do is be able to long-press on a file and select "Download to..." and dump it in my "Downloads" folder. That way I can do with it whatever I see fit.
jesmrec commentedon May 5, 2023
ownCloud app implements SAF (document provider), so files inside ownCloud app are available through any app that also implements document provider. You can check this app: https://play.google.com/store/apps/details?id=com.marc.files. It's only a file browser but it's valid as example that files and folders are accesible out of our app, using the correct and safer method.
Through that app you can copy and move files from oC to "Download" or any other location of your device, and viceversa.
JuancaG05 commentedon May 5, 2023
Hey @riversdev0! Thanks for your comment here!
Let's see if I understood correctly: I see you use the app as a transfer tool between your smartphone and your PC, and you say now you cannot perform this task due to scoped storage. If the direction was phone -> PC, I guess you can continue adding files from your app and then downloading them from the web client in your computer, regardless scoped storage. If the direction was PC -> phone, we have some changes in the procedure, for this and the other case you mention. Scoped storage makes your app files non-accessible from other apps BUT from the document provider implemented by other apps. This is why you can use apps that implement directly this document provider to be able to manage the files from your device (included the ownCloud ones), for example, Files.
In fact, we are now developing a new feature that adds a direct link to this app from the settings 😁 (#4028):

I hope I could solve your doubts, don't hesitate to ask again if you have any other problem! 🍻
riversdev0 commentedon May 8, 2023
Hi @jesmrec and @JuancaG05 - I appreciate your feedback. Thanks for your the suggestion of using the "Files" app. My phone had the Samsung "My Files" app already installed, but Samsung apparently doesn't implement the document provider because that app can't see oC as an available file system. Using the app you suggested, I can now copy the files to a folder on the phone and use them in other apps. Thank you so much!
JuancaG05 commentedon May 9, 2023
Hi @riversdev0! Exactly, the Samsung app "My files" (and any other file browser app by any device brand) doesn't implement the Android native file browser, the document provider. That's why we need to look for another solution such as the app we suggested to you. I'm glad you could solve your problem, if you need anything else we're at your disposal 🚀
DeepDiver1975 commentedon Jun 26, 2026
🤖 Automated issue triage by Claude Code review agent.
This issue was opened before 2020 and has had no activity since then, so we are
closing it as outdated. If this is still relevant on a current ownCloud release,
please reopen (or open a fresh issue) with up-to-date details — thank you!