-
Downloading photoshop/sketch files
Hey, I have a problem downloading complex files (photoshop/sketch) using dropbox api and a custom download function. here is my code. https://jsfiddle.net/m5aq84gL/ This code works for simple files like svg or text but the photoshop and sketch file appear corrupted.
-
No error message with line feed in json header
Hello! During using API I found weird behaviour of dropbox: when sending the new upload request (v2), if there is a 0xA (line feed) character in the end of Dropbox-API-Arg header, server will send correct metadata as response, but the file content from request will not be processed. The size field in metadata will be…
-
file upload from html form via ajax
Hi, I want to upload selected files from my html multi form via ajax to my dropbox Folders! I can upload files from my local Storage from my ressource folder, but I need to upload the files I selected in my HTML Form. I send a FormData via Ajax and then get for each File a HttpServerRequest( a vertx framework object). I…
-
Bitcode support for iOS Chooser API
The iOS Chooser Framework doesn't have bitcode, which prevents me from turning it on in my project. Bitcode is optional so I can work around this by disabling bitcode in my own app. However, it would be nice to keep it on. Can we please get a new version of the framework built with bitcode? I'm also curious about the new…
-
Dropbox API Explorer • list_folder/continue
Hello Can anyone reply me asap. I am using dropbox api v2 to fetch dropbox files changes. Previously it was working fine but from 8th of June whatever I create/upload on dropbox api is not fetching. Can anyone help me ?
-
Problems with DbxAuthFinish in Java DropBox V 3.0.3
Hello, when i try to connect to the Java App i've created for the first time using no redirect requesting i get a fatal error just on the DbxAuthFinish, giving me a java.lang.ExceptionInitializerError. I checked out many times but my code is still the same as the example found in the API tutorials. Here is my code: String…
-
/2/files/list_folder entries list question
Greetings, The /2/files/list_folder docs says about `has_more` “If true, then there are more entries available. Pass the cursor to list_folder/continue to retrieve the rest.” * What is the max that /list_folder will return? * Is there/can we have a way to indicate that we want all of them (so that we can avoid the need to…
-
Non-image thumbnails
Hello, The /get_thumbnail document currently says “This method currently supports files with the following file extensions: jpg, jpeg, png, tiff, tif, gif and bmp. Photos that are larger than 20MB in size won't be converted to a thumbnail.” Is there (or can we have) a way to get (being able to set if dropbox doesn't want…
-
Dropbox V2, shared folders not listed?
When I query a folder, shared folders do not appear in the list. How do I display them? DBUserClient *client = [DBClientsManager authorizedClient]; if (client != nil) { [[client.filesRoutes listFolder:dbPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if…
-
-downloadUrl seems much slower than DBRestClient's loadFile:dropboxPath
It seems that the iOS Objective-C framework support for the Dropbox API v2 is much slower at downloading large numbers (200+) of files than the original DBRestClient method. For example in my iOS app... v1 used this method... [restClient loadFile:dropboxPath intoPath:localPath]; which would then do a callback to..,…
-
new files not returned by /files/list_folder
Are there currently problems with the API? My App does not return any newly created files/folders with "/files/list_folder" Files that have been in dropbox for a while are listed, but if I add a new file it does not appear in the result. the '/files/search' endpoint seems to work fine. All files, new and old are returned.
-
Core API v2 Android authentication flow
The android sample https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android opens browser for oauth. It uses url with api=1 and begin with www.dropbox.com/1/... Question: should this be used for V2 api? because in https://www.dropbox.com/developers/reference/migration-guide the endpoint of V2 has not prefix…
-
New license for dropbox-sdk-dotnet
In order to integrate Dropbox within our UWP app we need to add the full licence of the .Net SDK: https://github.com/dropbox/dropbox-sdk-dotnet Where can I find it? Is it the same as the iOS one ? https://github.com/dropbox/SwiftyDropbox/blob/master/LICENSE
-
SHow file creation Date using server time
I need to show that a file was not modified since uploaded to dropbox. I mean, i need to show the creation and midifcation date of a file on the server side, because the creation date in windows can falsified just changing the PC time. Can you help me, please
-
shared_link_already_exists
Hello, There is an 409 (Conflict) error i have never encountered since today with a responseText "shared_link_already_exists". I have a generic function getDropboxFiles() called in several places in my web app that creates a "list_folder" request, mainly when the user logs into the page or if a new file is uploaded. When…
-
SwiftyDropbox getting image/video thumbnail
I'm trying to get a thumbnail but seem to receive the path to the original image/video. What am I doing wrong? client.files.getThumbnail(path: file.pathLower).response{ response, error in if let response = response, let thumbnailPath = response.0.pathLower { print("Thumbnail: \(thumbnailPath), original:…
-
Documentation for sharing authentication with webserver
I have looked everywhere and I'm not finding the documention on how to do what I need. All the documentation I've seen for the java sdk shows me how to prompt a user for permissions to get their oAuth2 access token. I can't do that. I need my webapp(javascript) to get the oAuth2 token and pass it to my java backend. Then…
-
Help migrating from v1 to v2 Objective C
Hello, I am not very familiar with Dropbox API, though I got version 1 working just fine on my app. But I am not really following the path from V1 to V2 all that well. I am attempting to do some very simple things, but find this new API hard to digest I thought I would ask. App Delegate Code went from this: DBSession…
-
.net API
How to upload zip file on dropbox through .net API. Can anyone give me a code in C Sharp
-
Migrating access token from API v1 to v2
Hi, I was using Java SDK v1.7 and have stored access tokens of my users in database. I realized that I need to have access token key and access token secret when I wanted to automatically upgrade access tokens to v2. But I do not know how to get those access token secrets. I am not aware that SDK v1 was providing such…
-
iOS share extension Dropbox authenticate
-
How do I get a redirect URI?
Where do I get a redirect URI?
-
DBFILESWriteMode - please explain
Overwrite I know. Please explain isUpdate and isAdd. For example, what if I want to try and write a huge list of files to a dropbox folder. Is there a mode where I don't have to look at every file in the destination folder and compare modified dates before uploading? What I mean is there a way to do a batch upload of all…
-
com.dropbox.core.DbxException$NetworkIO: java.net.SocketException: Unconnected sockets not implement
I am trying to create a sample application which will open the dropbox, authenticate and upload the document from drop box to my application. I am executing the sample code provided for Core API - Java and getting the following expection after authorizing - com.dropbox.core.DbxException$NetworkIO: java.net.SocketException:…
-
How to upload to root with sample code
For the "advanced upload case for "batch" uploading a large number of files" how do you specify root? For this line: DBFILESCommitInfo *commitInfo = [[DBFILESCommitInfo alloc] initWithPath:@"/output/path/in/Dropbox"]; initWithPath - I have tried @/, @"" and other combinations. They all fail with malformed path or other…
-
Background Session for NSURLSession in iOS
I am after a little advice on background/foreground session usage. The documentation states that by default, background sessions are used for uploads and download. As I understand it, this means that the transfer can complete even if the app is no longer running. You can optionally use foreground sessions instead, but then…
-
HTTP status Net::HTTPNotAcceptable
The api/1 started to throw `Net::HTTPNotAcceptable` exception since 1am (PDT) last night. It is affecting the url calls, such as `https://api.dropbox.com/1/fileops/move`. Please advice.
-
client_modified for FolderMetaData in v2
We rely on having an accurate folder client mtime in ExpanDrive - the V1 API still returns it and that's what we're still using for folder listing. Would it be possible for the V2 API to add in this field before V1 is turned off?
-
API statistics v1 vs v2
Is there a way to see how many apiv1 access is still done for an app? Currently api statistics just shows number of API calls, but not if v1 or v2 was used. Such view would help to see if API v1 decommissioning is processing as expected ...
-
Upgrade api v1 to v2 (objective-c)
I import ObjectiveDropboxOfficial sdk in my project. But I have a problem with logining without installed Dropbox app on device, and also on the simulator (iOS 9 and 10). After calling DBClientsManager authorizeFromController.... I have empty white screen and input in log DBSDKReachability Flag Status: -R -------…