Learn how to make the most out of the Dropbox Community here 💙. 

Forum Discussion

Avner11's avatar
Avner11
Explorer | Level 3
6 years ago

Can Dropbox js sdk write into the local Dropbox directory, on mobile?

Can a web app, use the Dropbox js sdk, to write a file locally into the Dropbox folder on mobile (Android)?

I want the file to be synced automatically to the cloud via the native Dropbox application, or via a third party app (e.g. Dropsync).

Or is the web app limited to the same origin, i.e. it will not see the Dropbox folder?

Thanks,
Avner

  • Walter's avatar
    Walter
    Icon for Dropbox Staff rankDropbox Staff

    Hey there Avner - how are you today?

    I'm sorry if I'm missing something obvious here but could you elaborate on what you'd like to accomplish eventually and specifically how (the exact steps)? 

    By the way, are you developing your own app? 

    Any additional information you can share will be much appreciated!

    • avner1's avatar
      avner1
      Helpful | Level 5

      Hi Walter
      Yes, I'm developing an app.
      The web app, is without server side, and interacts with a large zip file (~1GB) with many images.
      The zip file is downloaded from the cloud via the Dropbox js sdk.
      The mobile application adds one image to the file, and on save, uploads the file onto the dropbox account on the cloud.
      With my current implementation the entire zip file is uploaded with every save, which is slow.
      I'm looking for a way to speed up the upload and keep the file synced in the cloud.
      From what I read, Dropbox native app, and other Dropbox related third party apps (e.g. Dropsync) have incremental sync, which I want to make use of.
      If only I could save to the local folders of these apps...

      Thanks,
      Avner

      p.s.

      other related links are here, here, here, and here.

       

      • Walter's avatar
        Walter
        Icon for Dropbox Staff rankDropbox Staff

        Thanks for clarifying that and providing these details avner1, I appreciate it. 

        I have moved your post to the relevant section of our Community so the right people can get on it and assist further.

        In the meantime, have a lovely weekend!

        PS: I guess you're using two separate accounts and you're the same person as Avner11, right?