• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by akisrn · Dec 12, 2016 at 06:36 AM · downloadingdropbox

Downloading files from Dropbox

Is it possible to download files from Dropbox using Unity? Like, for example, i want to download this certain file from Dropbox and, I would enter the filename and download it by tapping a button. Does Dropbox have an API for unity? Thanks in advance.

Comment

People who like this

0 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Marceta · Dec 12, 2016 at 06:42 AM

Yes it is possible. The question is are you capable to do it. Is your project for mobile or desktop platform? Do you have experience in writing plugins?

Dropbox have API for developers and it's here: https://www.dropbox.com/developers As you can see on these links some guy's already built some stuff with it: https://www.assetstore.unity3d.com/en/#!/content/4096 https://www.assetstore.unity3d.com/en/#!/content/62108

Comment

People who like this

0 Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image akisrn · Dec 12, 2016 at 06:53 AM 0
Share

Hi. Thank you for your answer! I do have experience in writing plugins for android and ios. I'm gonna check out the links you sent and give you an update. Thank you

avatar image akisrn akisrn · Dec 12, 2016 at 06:55 AM 0
Share

Additional info: My project is for mobile.

avatar image

Answer by trueguy · Jun 30, 2018 at 10:21 AM

If anyone else will face same problem: I just created asset for easy downloading from Dropbox and realtime tracking of changes: DropboxSync - Asset Store

Example usage:

 // Download Jpeg image from Dropbox (or used cached if no updates)
 // and receive it as Texture2D object.
 DropboxSync.Main.GetFile<Texture2D>("/DropboxSyncExampleFolder/image.jpg", (res) => {
     if(res.error){
         Debug.LogError("Error getting picture from Dropbox: "+res.errorDescription);
     }else{
         Debug.Log("Received picture from Dropbox!");
         var tex = res.data;
         UpdatePicture(tex);
     }
 }, useCachedFirst:true);
Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Update about the future of Unity Answers

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta later in June. Please note, we are aiming to set Unity Answers to read-only mode on the 31st of May in order to prepare for the final data migration.

For more information, please read our full announcement.

Follow this Question

Answers Answers and Comments

60 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

When I downloading a resource or before, how to know it size? 0 Answers

Changing format of downloaded texture 1 Answer

I can't download unity editor, it stops on second file and it doesn't care how many times i click retry download button 0 Answers

I saved a scene into Dropbox, and when I download the Scene from Dropbox, its all blank!?! 2 Answers

Unity 5 Install failure for Example Project 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges