Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
scribe4you
8 years agoNew member | Level 2
syncing not working for files uploaded using dropbox api
we have created an app using dropbox api which is sending audio files to our dropbox folder. But those files are not appearing on my desktop although I have full sync on. When I am manually putting files in that folder, they are syncing ok. So how do I sync the files which are coming through the dropbox api?
4 Replies
- Greg-DB8 years ago
Dropbox Community Moderator
Files uploaded via the API should automatically sync to connected computers, just like files uploaded from any other source.
First, we should determine where this is isn't working for you:
1) Is the upload API call returning a success response?
If not, the upload failed to begin with. Check the response for information on why it failed.
2) Is the Dropbox web site showing the uploaded file?
First, make sure you're checking the right location. For example, if your app has the "app folder" permission, files will be uploaded into the "app folder" for the app, by default under "/Apps/<app folder name>". This would be the location of the file in the desktop client too.
If the file is showing on the web site, then there may just be a syncing issue with your desktop client, in which case you'll need to contact user support for help with that desktop syncing issue: https://www.dropbox.com/support
If the file is not showing on the web site, please share the response from the upload API call so we can look into it. - scribe4you8 years agoNew member | Level 2
Thanks for your response. It seems like the app was sending files with : in the filename which dropbox sync doesn't work with.
- scribe4you8 years agoNew member | Level 2
Quick question on syncing. Is there a way to remove/empty the original dropbox folder once sync has downloaded the file onto the PC?
- Greg-DB8 years ago
Dropbox Community Moderator
I'm not sure if this is what you're looking for, but you can use the delete endpoint (or corresponding delete method in whatever SDK you're using, if any) to delete any file or folder programmatically. There isn't a way via the API to determine if the sync operation to any particular client has finished though.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 12 hours ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!