-
Masking Dropbox URL
We have a Dropbox bussiness account. And we want to move several files from our web site server into dropbox and use dropbox as a storage solution. When a user wants to downoad one of these files we would like to keep the URL pointing to our domain and download the file dirctly from dropbox. Our site is based in ASP.Net (…
-
xcworkspace version control
So I understand that after you install cocoa pods that you access your project through .xcworkspace instead of .xcproject but then I lose the nice version control I had setup. Anybody know how to implement version control when using xcworkspace?
-
DBChooser in Swift3 app - DirectLink = "nil" problem
Hi, I'm using DBChooser framework for pdf preview and download from dropbox and then to upload to another server. I stuck on this part of code. ViewController DBChooser.default().open(for: DBChooserLinkTypeDirect, from: self, completion: { reasults in print(reasults as Any) }) DBChooser is working because dropbox is…
-
Objective C SDK v1 show current version similar to "kDBSDKVersion"
In objective C SDK v1 we can do the following to determine the currently installed version: NSLog(@Current Dropbox SDK Version is: %@", kDBSDKVersion); How can we do this in SDK v2? Thanks
-
Interpreting iOS upload example
New to iOS development (this will become obvious shortly). Trying to follow these instructions for making an upload style API request: let fileData = "testing data example".data(using: String.Encoding.utf8, allowLossyConversion: false)! let request = client.files.upload(path: "/test/path/in/Dropbox/account", input:…
-
Calling DropboxOAuth2Helper.ProcessCodeFlowAsync synchronously
From the OAuth guide: "Note that for certain apps, such as command line and desktop apps, it's not possible for a web browser to redirect back to your app. In these cases, your app does not need to include a redirect_uri parameter. Dropbox will present the user with an authorization code that they will need to copy and…
-
Copy file to local drive
How I can copy a file from user's dropbox account to servre using JS SDK. Previously we were using PHP SDK where user giving permission access app folder to our app. Then app was reading all files from user's dropbox account and copying those to server. We want to achive same using JS SDK. Want copy file from dropbox to…
-
Javascript SDK CLIENT_ID
We have app in which we were using PHP SDK but unfortunately we don't have any updated PHP SDK 2. Now we are trying to replace our code through javascript. We saw javascript use app's CLIENT_ID to genearte authenticate URL. But we are unable to find from where we can get CLIENT_ID for our app. Previously we were using App…
-
API crash no log
I am getting a kind of weird error with my client request, every time the code gets to client.users().getCurrentAccount() it seems to crash with no error reporting, the app just stops. Did I se up somthing wrong? I am using the token generated from my account. Account account1; final String ACCESS_Token = "<redacted>";…
-
Webhooks delay - recommended wait time?
Hi, in reference to this: https://www.dropboxforum.com/t5/API-support/Webhooks-delay/td-p/145062 We're using include_media_info=true, and our strategy is going to be to action each webhook twice - immediately, and after a small number of seconds. My question is what would a recommended number of seconds to wait before…
-
Slow response from /list_folder
When calling /2/files/list_folder, whether its on the root or on an empty folder, the response takes about 7-8 seconds. Requests to other storage providers aren't taking that long, i've done some tests to ensure my network connection is stable. Is 7-8 seconds the expected response time for this api call, regardless of…
-
Distinction between Oauth 2 and PHP Core API (PHP SDK)
Hi, I'm from Softaculous Ltd and we are now starting to integrate with Dropbox for Backups upload and download. I want to know the difference between your PHP Core API or PHP SDK and OAUTH 2. Also, do you have something as FTP stream to upload a tar.gz file in parts?
-
shared_link_already_exists just after list_shared_links returned nothing
I maintain an application which uploads files submitted by users and creates a shared link to them. In most cases it works properly, but today one call to create_shared_link_with_settings returned 409 with the message shared_link_already_exists It happened few hundred miliseconds after I called list_shared_links and…
-
FileUriExposedException
Hi Dropbox crashes. (dump is at the end of this question) I have an app that I had developed for myself. It used to work with Dropbox untill recently. I am storing my myfile.or1 on dropbox and in my app I am using intent-filter to call my app to read it. I am not using dropbox API. I did not move to 24 -…
-
Upload sometimes needs pressing enter to proceed.
My uploading code seems working. But the uploading progress often suspends and it only continues after I press enter. The progress display is like this: Authorizing... Authorize OK! //Sometimes the program suspends here for like 10 minutes. I have to press enter to make it display the following. Start uploading... Uploaded…
-
download timeout error message
I am trying to access slides in a folder, and seeing this error when I downloading them thru SwiftyDropbox API. I want to write code to retry said downloads, but how to capture this verbose description to make sure I am retrying for a code -1001. My errorcode looks like this? ClientError: Optional(Error…
-
no media info for PNG files in v2 API: /list_folder
Hi, I am trying to filter images (PNG files) and videos (.mov files) from the list received in /list_folder response. In API v1 we had the mimeType which was simple and efficient. In v2 API I am trying to use the media_info structure, but unfortunately it is not returned for PNG files. Also, the media_info does not allow…
-
Option to get metadata for root
I have been using API V1 to get metadata for root folder. But I came to know that, this is not available in API V2. This is very essential to my app. Can you suggest any option or alternate?
-
API v2 access token validity and authorization redirect URL response
Is it correctly understood that the token I get from a user after the authorization flow, is valid until the user revokes it? Meaning I can just store it securely in the app and use it each time it's needed? Second question. If I can not close the browser that presented the dropbox authentication dialog (on calling…
-
Dropbox API: No CORS header present
Hi, I am using the dropbox core API v2 with angularJs web client using $resource and Express REST server to access dropbox. After i moved to $resource from my client instead of $http, I am getting the following CORS error when redirecting to dropbox for OAuth2 authentication as mentioned in the Dropbox OAuth2 guide. If i…
-
Sharing folders via API with outside email address
Using the Python SDK. I am creating a shared folder and would like to invite someone to collaborate on the folder and I only have the email address. We are on Dropbox Plus and it is not a team account. Is this possible and if so how would it be done? I tried using the sharing_add_folder_member, but it does not sure…
-
iOS Obj-C Getting result.entires to be UItableview Datasource
Hello, i'm new to v2 and I'm updating an app using objective-c. When I call a listFolder, I get results. [[client.filesRoutes listFolder:searchPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { NSLog(@result.entries %@.",result.entries);…
-
Auth Token Question
Hello, I am using JavaScript API from dropbox. Is there a way to generate a temp token, so it expires after its used once? I find a permanent token is risky, anyone can just upload anything to my account. Thanks!
-
[Java SDK v2] migration: error handling with HTTP codes
I'm migrating to the v2 Java SDK on Android, from the old Android SDK. I'm struggling to convert some error-handling code. This is a high-level error handler which could be handling an exception from any one of a number of Dropbox API methods. Here's how it used to look:…
-
Getting javax.net.ssl.SSLHandshakeException: Handshake failed exception while calling download image
Getting javax.net.ssl.SSLHandshakeException: Handshake failed exception while calling download image api. Sometimes images are downloaded and sometimes it fail with handshake exception. DbxRequestConfig requestConfig = DbxRequestConfig.newBuilder("test-v1") .withHttpRequestor(new…
-
SDK not compatible with Unity3D (.Net 2.0 mono)
Hi. I'm working on integrating dropbox support in my Unity3D app. I can use the SDK just fine from regular .net, but it's not compatible with monos .net 2.0 SDK which Unity uses. I'm looking for a straight C# solution as it needs to be compiled for both PC, Android and iOS. Does anyone have experience with getting the SDK…
-
Exports Events to csv file?
Hi All, Daily, i check events shared folder of dropbox. But it make long time. Can you help me tool export event to csv file, i can filter it? Thanks you,
-
Upload selected file from Dropbox to Amazon S3 using Javascript
Hi, I am developing my application in meteor. I have used Dropbox picker SDK, using it I am able to fetch URL of file uploaded on dropbox. Now, I want to upload selected file on Amazon S3 using javascript. How can I do this?
-
html file plays mp3 file OFF-LINE but not ON-LINE
I have an html file that contains an html5 audio player. The mp3 file that is embedded into my html5 audio player is also in my dropbox account--- so they are both off line and on-line. This html file will play my mp3 file WHEN I'm playing my Dropbox html file OFF-LINE. But when I go to my same Dropbox account ON-LINE---…
-
Sync files between Apps
Hey. People can create a real-time slideshow with my Dropbox app, which works fantastic. However, some people are running into an issue where they have another Dropbox app such as SimpleBooth and they can't share or sync the files from that App to my app. Is there a way to sync/share files between Apps in Dropbox? Thanks!