-
An example of final url for deleting a file on dropbox?
This is an example final url for upload a file on dropbox. https://www.dropbox.com/developers-v1/core/docs#files_put Don't try it, nothing is real. (The HTTP method PUT)…
-
download file using python API frpm another user
I am able to downoad and upload files from my Dropbox account using Python or command line But can I download files from another user?
-
Newbie Try to Make Some VB app
Hey Guys, Im new here, i need help. i trying to make vb app using dropbox as cloud storage, for team work. I already read the dropbox blog but it confuse me. i cant read the flow or what variable i should change. i know the first step is get autorization for the account but the flow confuse me. what i should change or what…
-
Access Token
Hello, I would like to know if is possible a person who is not developer get your token? I ask this because I'm developing an app that can access to any account, for example, in my computer the app needs do access to my account (in the begin I select my account to access), if I pass this app to other person that isn't a…
-
Uploading localhost mysql.sql file uploading problems
I have an problem with Dropbox api. I successfully installed and checked PHP all are ok. but every time connection asking the access token. I need to upload without any questions ask dirrectly upload file and download if needs. Every time i need to follow these steps to get upload the file...... copy the token and past…
-
File Naming
Hi, I'm using the nodejs SDK and I notice that when using the filesUpload method, file names seem to be get clipped short. For example, I have a file that is uploaded to the path - /test/some_folder/This Is A Test File - 123456 - 09/23/2016 - blah - blah.pdf When I go into the dropbox explorer UI I see…
-
Problem with using Generated access token to test using SwiftyDropbox
I have followed the instructions on https://github.com/dropbox/SwiftyDropbox in an attempt to test the V2 API with my Swift desktop macOS App. The only difference is that I am using the Swift_2_3 branch. When inputting my "Generated access token", from my App page on my account, and compiling I get an error on this line:…
-
Upgrading my account??
Hi, I am making my app using your API for backend, so... I want to know if upgrading my account the server is going to be faster, and reliable for my apps? Thanks for read, and, I'm putting in your hands with my applications on your server, so, I need to know...
-
-uploadSessionStartUrl: example?
Apologies for the barrage of questions - it's only because I'm updating a large class to use API 2. Is there an example of how to use -uploadSessionStartUrl: anywhere? (A Google search brings up nothing but the documentation.) I use -uploadFileChunk: a lot in API 1, so need to replace this with -uploadSessionStartUrl: in…
-
Obj-C: Getting "over quota" error after session start for uploading chunks
Whenever an API call fails, I like to check to see if the user is over their usage quota, and if so, I throw up a warning that they need to delete some files or upgrade their Dropbox account. As Greg previously explained, I can do this using the route error passed into the response methods, e.g.: DBFILESUploadError…
-
Get parent folder of a shared folder
I am using "list_folder" to get the details of a sub-folder. I want to find the ID of its parent folder. But "parent_shared_folder_id" contains the ID of its grand-parent folder, not its immediate parent folder. Is there a way to get an item's immediate parent ID?
-
Android ACTION_GET_CONTENT from Dropbox sources
Device OS: Lollipop 5.0 When using the Intent ACTION_GET_CONTENT and selecting Dropbox from the Storage Provider, Dropbox prompts a file picker dialog to choose from. The result obtained in onActivityResult is something like…
-
Obj-C download destination + two questions on method names
Hello again, Three quick questions: 1. To download a file, I use -downloadUrl:overwrite:destination:. The documentation for the latter says: "A closure used to compute the destination, given the temporary file location and the response." What exactly does this mean in practice? More specifically: you set a destination URL…
-
Obj-C API 2: DBFILESWriteMode - using -initWithUpdate with file revs vs -initWithOverwrite:
In API 1, to overwite an existing file on the server, it was always necessary (as I understand it) to provide the file rev of the existing file. If you didn't do this, you would receive an error. Otherwise, you had to first delete the file and then write it again. (I could be wrong about this - maybe it was possible to…
-
How get app key in API 2?
In API 1, I could get the app key like this: NSString *cachedAppKey = ... MPOAuthCredentialConcreteStore *store = [[DBSession sharedSession] credentialStoreForUserId:nil]; if (cachedAppKey == nil || [cachedAppKey isEqualToString:store.consumerKey] == NO) { NSLog (@App key changed since last use!, nil); } Is there a way of…
-
list_folder/continue for file id
The list_folder/continue api is needed for an API user to track changes to files under a given folder. If the folder is moved, the list_folder/continue API will return a path not found error. If the id of the folder is known, the changes watching can be started again on the same folder via a call to get_metadata to get the…
-
Getting rev from DBFILESMetadata in obj-c API 2
Dear Dropbox, Thanks for the new obj-c API v2, looks like quite an effort! So far it's more convenient to use than API v1 and integration is going well. However, I'm a little held up on how to work with the response objects, I'm constantly looking for methods and properties on them that don't seem to be there and I think…
-
Multiple platform Core v1 to v2 Migration Question
Currently we are using the v1 Core API to suport users accessing their Dropobox content via our apps on 3 ptatforms (iOS , MacOS, and Windows) with App Folder permission. We are likely to migrate to the v2 API in our iOS app first with the two desktop apps to follow later. If we migrate a user to the v2 API in our iOS app…
-
Using file revs in API 2
In API 1, whenever a file was uploaded, a file rev was provided in the meta-data's .rev property in the "did upload" delegate methods. In API 2, DBFILESFileMetadata has an equivalent .rev property - so far, so good. But how do I use that file rev when uploading files? In API 1,…
-
Modification dates for directories?
In API 1, DBMetadata would report -clientMTime and -lastModifiedDate dates for any time of meta-data, including folders. In API 2, it seems that -clientModified and -serverModified are only available for DBFILESFileMetadata and not for DBFILESFolderMetadata. So how do I get the modification date for a folder? Thanks, Keith
-
Objective-C API 2 - dealing with error codes
Hello, In transitioning my API 1 Obj-C code over to API 2, I'm slightly confused over how to deal with certain error codes in API 2 - or even how to locate them properly. # 1. Create Folder Errors When creating a folder in API 1, if something went wrong, the delegate's -restClient:createFolderFailedWithError: method would…
-
Case-Sensitivity in API 2
Hi, Short version of this question: Is DBFILESMetadata's .pathDisplay property guaranteed to always use the correct case in its last path component, as .DBMetadata's .path property was in API 1? (Everything below is just a longer-winded way of asking that. :) ) I've always had an issue with the conflict between Dropbox…
-
problem with single quote in api filepath
Hello, I am using a straightforward dropbox api call in Ruby to get a file's modifier email & display name, like so: client = DropboxClient.new(generated_access_token) root_metadata = client.metadata(dropbox_filepath) user_email = root_metadata["modifier"]["email"] user_name = root_metadata["modifier"]["display_name"]…
-
Optional path_lower on sharing/get_folder_metadata
The get_folder_metadata documentation states that the path_lower field in the response body. I needto give my users a descriptive error message when it's not available. So I can write an instructional message, can you answer the following? Is path_lower only absent when the folder is not mounted? Is a folder mounted when…
-
Ways to Prevent "failed to grab lock" Error
Is there a way to check if there are running processes given the user's account? I don't want to get any errors related to concurrency or locks, so I was thinking of polling the account until there are no changes being made, then sending the API request to make the changes that I want.
-
Dropbox Chooser - how to exclude file by name (or mask)
Hi, is there a way how to exclude a specific file from being available in Dropbox Chooser JavaScript API? I would like to disallow the file "get started with dropbox.pdf" as some users choose it instead of a "real" one. Cheers!
-
Trying to find some Objective-C API 1 Functionality...
Hello, I'm starting to convert my Objective-C Core API 1 code to API 1 and am having a few problems finding equivalent functionality in some areas. Because there's no language-specific transition guide, the only way of trying to map things across is to go through the framework header files for a number of things, and there…
-
Temporary Direct Links stop working
Hello, I'm using dropbox-sdk-php to generate temporary direct links, it works fine, but today something happens, sdk still returns link but when I try to open it, getting Error (403)
-
Dropbox API application stopped working with 403 error
Hi, I have an application that downloads new software to an embedded processor (TI CC3200) by using the Dropbox API. It just stopped working. It worked fine the day before yesterday, but now every request for the file to download returns a 403 error. If I delete the file from the download directory on Dropbox, the embedded…
-
Shared Links in SwiftyDropbox broken?
Running this function using SwiftyDropbox! Was working well til this morning, now it returns nothing useful, just the reply that the link already exists, and when I try and get the link... it returns nil. Did see a post saying this functionality is broken right now. I hope not the case cause it is a single point of failure…