-
Dropbox API - Downloading windows exe file
Well, I'm using .net version of Dropbox V2 API with Visual Basic 2015, and I'm trying with it to download an .exe file from my dropbox. So, I do this: Dim response = Await dbx.files.BeginDownload(path + "/" + file) filecontainer = Await response.GetContentAsStreamAsync() Filecontainer is a string. After that, I try to…
-
Login without DB UI intervention?
I am using the iOS SDK with objC (v1). Is there a way to programmatically login to a dropbox account from my app without having the DB UI prompt for user/password pop up? We want to use our DB (the developer's) rather than the DB of the user of our app. Basically rather than call linkfromcontroller we want to run it from…
-
Concurrency issue - failed to grab locks
We did see the previous answer https://www.dropboxforum.com/hc/en-us/community/posts/204555365-Failed-to-grab-locks about the concurrency limitation. But wanted to find out more information, - Is this limitation because of using the API - Is the limitation because the same OAuth token is used by concurrent requests? - Is…
-
Is there a constant or method that return the upload limit per request?
I'm writing an application and I trying not to hard code the upload request limit of 150 MB per request to my application. Is there a way retrieve that value? I wanted to know if Dropbox plan to raise that limit in the future.
-
search for latest file?
my goal is to retrieve a list of files for the last 100 newest files in a given folder for ex., Is it possible to use the search API for that? or there is a different API that can achieve that?
-
Check if user has verified his/her account
In API v1, one can check whether user has verified his/her email. In API v2, that seems to have disappeared. Is there a way to check, otherwise, during folder sharing, it will return an error?
-
Saving Data Directly from AJAX to Dropbox
I'm trying to avoid having to create static files. I would like to submit data directly to Dropbox with AJAX. I tried one method of adding post data to the options to the url which returns the content. This doesn't work. I didn't expect it to work, but it did get far enough to time out while sending. Perhaps a problem with…
-
get full files and sub-folders tree?
Using API under business account, is it possible to get the full folder/sub folders and files tree from a given folder? +++++++++++++++++++++++++ EDIT Please ignore, I've used the API explorer where it doesn't show some of the API calls that I was looking for.
-
API session expiry?
Hi everyone, I'm in the process of creating a Python app which will run on my Raspberry Pi to allow me to control a webcam via Dropbox. I have created an app and generated an access token. In my program, I have the following general structure: if __name__ == '__main__': dbx = dropbox.Dropbox('MY_ACCESS_TOKEN') while True:…
-
Chunked download via Chooser
If a user uses the dropbox chooser to select a file, in order to copy it to another system, is it possible to use the link to download the file in chunks. We tried using the range HTTP parameter but it seemed to be ignored and returned the full file. Also is there a limit to the amount of data that can be returned from the…
-
I get error readline() function
i try curl login dropbox but i alway get this error.. 1. Go to: https://www.dropbox.com/1/oauth2/authorize?locale=&client_id=qb8y2vxw727tgqh&response_type=code 2. Click "Allow" (you might have to log in first). 3. Copy the authorization code. Fatal error: Call to undefined function readline() i installed readline on my…
-
How to display text file content saved on account?
Hey I'm building an text editor web-app using php. So basically I want to display the content of a text file on a text editor that is already saved on the application's filespace. My question is do I have to download the file to a local folder and read its content from there or is there another way to directly read files…
-
Java V2 SDK - get metadata
Using Java SDK v2, I need to get metadata for a file or all files in a directory. Specifically the client modified timestamp. I cannot find this anywhere in the V2 docs, specifically the DbxFiles.Metadata class only contains name, pathLower and parentSharedFolderId. How is this done?
-
ios sdk include_deleted
In the ios sdk (v1 for objc) is there any way to customize the requests for metadata so you do not get all the deleted files? I cannot find a way to set include_deleted to NO.
-
Why do I get this as response for file Download?
I'm using the HTTP API with PHP via it's cURL methods. I send in the correct way the request and I get a correct status (200). But as response from the request I expected the content of the file and I receive strings as this one: @/tmp/php5BHw8P;filename=8jh7d5.jpg;type=image/jpeg Am I doing something wrong? What should I…
-
OAuth2 public app key security
I'm just in the process of updating a few things and wanted to clarify how things are handled in terms of OAuth2 (and specifically, in this case, Android). Basically it's my understanding that the app key must be included as both R.string.app_key and in AndroidManifest.xml in order for the implicit Auth behavior to work…
-
Find the last updated timestamp of a directory (that includes changes to any of the files in the ...
directory - add/modify/delete) Challenge: Use Dropbox REST API to get the last updated timestamp of a directory (that includes changes to any of the files in the directory - add/modify/delete). 1) I tried using the API v1 first: curl -XPOST https://api.dropbox.com/1/delta -H "Authorization:Bearer…
-
POST fail, error #400, Bad HTTP “Content-Type” header
when trying to upload a file into the app folder using POST I get "Bad HTTP “Content-Type” header" error, however when trying to download a file using GET it works, the following is my POST, needless to say that I've tried all possible "Content-Type" without any success: what is it I am missing here? Thank you all in…
-
Dropbox upload bandwidth throttling
I am using OAuth 2 to upload files to my dropbox account. Upload speeds have noticeably gotten worse for me from a variety of devices and locations over the past few months. Is there an account type in which uploads are not throttled by dropbox, because clearly you guys are throttling bandwidth. I currently use dropbox…
-
AppFolder absolute path
Hello, I am using Dropbox application with `app_folder` permissions level. Lets pretend that my app folder is `TestApp`. I am creating subfolder `plant` in it. Is there a way to get absolute path of this folder and to be able to show it to user? I can't use `/Apps/TestApp/plant` due to different localisations of dropbox.…
-
URL to dropbox folder on disk like //Dropbox Is it possible to make
URL to dropbox folder on disk like //Dropbox Is it possible to make
-
Comsumer API get_metadata with invalid id not return 409 but 500 error
I am trying to implement the error handler of the response error body, but here is a bug existed: I use get_metadata and give an invalid id as path, I got 500 in response but not 409 path not found. If I use path based API, the response status is 409 as listed in document. Furthermore, I try to use an invalid id just one…
-
Getting Dropbox.Api.BadInputException on DownloadAsync.
I am developing application to download an image from Dropbox in C#. I access a folder including Japanese as follows. ----------------------------------------------------------------- string filePath = ”/漢字.jpg”; var response = await _DropboxClient.Files.DownloadAsync(filePath);…
-
Managing sensitive files with a server.
My friend is a lawyer. His clients submit documents to him through Dropbox. They are sensitive legal documents. He asked if there was some way that I could build a website (web app) that will manage the files. I'd like to use the Dropbox API to have his clients directly upload the files into his Dropbox folder while at the…
-
Encoding data to state parameter and decoding it
Hi, I am developing an app in dropbox using OAuth2.0 authorization flow. It involves redirection as well. I would like to store some data and retrieve data after redirection. As stated in documentation, 'state' parameter can be used to store data and get back the same. How can I store data and retrieve? what encoding…
-
Getting OutOfMemoryException when downloading
Hello, I wrote a quick console app using Dropbox.NET with the intent of downloading particular files or folders from Dropbox (for archival purposes, etc...there are multiple reasons). However, I quickly ran into an issue when it tried to download a 1GB file. I receive an OutOfMemoryException. Here is the code that I use:…
-
Dropbox.Api.RetryException
My app is integrated with Dropbox. We send files to customer accounts. It works most of the time, but recently, I get Dropbox.Api.RetryException in the response and cannot find docs for that anywhere. I have compared the calls where I get that and ones where I do not and cannot find meaningful differences in the calls.…
-
Java API - V2
I am trying to ugrade my Android App to V2. I have added the new API to the Eclipse Project using the Maven dependency. There appears to be a dependency on SquareOK.com that I am not getting. When I call: DbxClientV2 GetClient(String Token) {0 String userLocale = Locale.getDefault().toString(); DbxRequestConfig…
-
is it possible to use api from an NSObject class vs a View Controller?
I want to create a file utility that isn't tied to a View Controller. I have one connection to the API working in a View Controller, but I'd like to create a standard NSObject module and simply instantiate a connection to the Dropbox API and do all the file work from there. It calls the app delegate but the API never calls…