Skip to content

Configure download folder (external_sd) #10

Closed

Description

@mokasin

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.

Activity

  1. rperezb commented on Nov 5, 2012

    @rperezb

    Thanks for the suggestion.

    We will include it to the product backlog.

  2. davivel commented on Nov 5, 2012

    @davivel
    Contributor

    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.

  3. przybylski commented on Nov 5, 2012

    @przybylski
    Contributor

    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.

  4. mokasin commented on Nov 5, 2012

    @mokasin
    Author

    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.

  5. ElGranLoky commented on Jul 7, 2013

    @ElGranLoky

    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.

  6. guiyou65 commented on Sep 8, 2013

    @guiyou65

    Same request for me (samsung gt-i8160 Android 4.1.2). It would be nice if we have the choice.

  7. Franz47 commented on Oct 2, 2013

    @Franz47

    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.

  8. przybylski commented on Oct 2, 2013

    @przybylski
    Contributor

    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.

  9. mokasin commented on Oct 4, 2013

    @mokasin
    Author

    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.

  10. boltronics commented on Jan 2, 2014

    @boltronics

    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.

  11. jochenwezel commented on Mar 21, 2014

    @jochenwezel

    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...

  12. ralf1070 commented on Jun 3, 2014

    @ralf1070

    Any news on this? This feature would help a lot.

  13. davivel commented on Jun 4, 2014

    @davivel
    Contributor

    Nothing new, sorry.

    Contributions are welcome.

  14. davivel commented on Jun 6, 2014

    @davivel
    Contributor

    @rperezb , @MTRichards , should we consider this for the short / mid term?

  15. 144 remaining items

  16. AnrDaemon commented on Jan 27, 2022

    @AnrDaemon

    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).

  17. AnrDaemon commented on Jan 27, 2022

    @AnrDaemon

    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.

  18. jpfox commented on Sep 29, 2022

    @jpfox

    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

  19. Helios07 commented on Sep 29, 2022

    @Helios07

    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.

  20. riversdev0 commented on May 4, 2023

    @riversdev0

    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.

  21. jesmrec commented on May 5, 2023

    @jesmrec
    Member

    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.

  22. JuancaG05 commented on May 5, 2023

    @JuancaG05
    Contributor

    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):
    new_settings_option

    I hope I could solve your doubts, don't hesitate to ask again if you have any other problem! 🍻

  23. riversdev0 commented on May 8, 2023

    @riversdev0

    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!

  24. JuancaG05 commented on May 9, 2023

    @JuancaG05
    Contributor

    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 🚀

  25. DeepDiver1975 commented on Jun 26, 2026

    @DeepDiver1975
    Contributor

    🤖 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions