-
Store upload request to a class var and cancel it later
Hi, I'm implementing Dropbox in my latest app. The app needs to do upload, share files and retrieve the shared links. This is done the following way. 1. The app checks if the file is previously uploaded by id 2. The app checks if the id has shared link and if id doesn't goes to step 4 3. The app requests links and then…
-
Download a file or directory
Hey guys, actually I am trying to program a Java application which can enter dropbox, look up which directories and files exist, upload a file and download a directory. Unfortunately I have some problems with the downloading part. Every time I try to download only a file the it tells me that: Exception in thread "main"…
-
How to know when user unlinks app or delete app folder in android
How to know when user unlinks app or delete the app folder in android?
-
Android(Java) Dropbox API v2: how to get file thumbnail and uri?
How to get the file thumbnail image and uri with Android(Java) Dropbox API v2 please? Urgent""" It'sa easy to do with API v1, but I couldn't find those methods in v2 anymore, please help
-
https://www.dropbox.com/1/oauth2/redirect_receiver in v2
Hi, I've been using the following url 'https://www.dropbox.com/1/oauth2/redirect_receiver' in console application when going through the oauth2 process. Will there bee an alternative to this for the v2 api. Reason I ask is I'm working my way through the following and its not listed:…
-
How to use OAuth2 authentication APIs
I am writing a UWP app on Windows 10 with the .NET Dropbox API and want to allow users to login to their Dropbox. Note this is not a web app and I don't have a browser control. var authUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, appKey, "http://localhost", appSecret, true, false); var result = await…
-
Internal server error 500 with Upload sesssion start JS SDK
Getting most of the time this error when trying to upload large files. Using JavaScript SDK for requests. I got same error also on filesUploadSessionFinish call. status: 500, error: 'Error: Internal Server Error', Part of my code return fs.readFileAsync(process.cwd() + '/__temp' +…
-
Access Token is invalid in android
I am creating a OAuth2AccessToken and storing it in shared preferences. The session is successful till the app is closed. It is invalid after I open the app again. This is the code I am using to create a new session using the stored access token. String dropboxaccesstoken =…
-
task async convert to void
does anyone know a different method not using task async i want to use void public async Task Download(string remoteFilePath, string localFilePath) { DropboxClient client2 = new DropboxClient("token"); remoteFilePath = "img2.jpg"; localFilePath = Environment.GetFolderPath(Environment.SpecialFolder.Personal); using (var…
-
Can't Download File From Dropbox downloadData With Objective-C
Hello, I am trying to use the following code to download data from Dropbox using the Vs2 API: NSString *filePath = @/joelLockFolderV2_1489675832.409768.tsl"; [[client.filesRoutes downloadData:filePath] setResponseBlock:^(DBFILESFileMetadata *result, DBFILESDownloadError *routeError, DBRequestError *error, NSData…
-
Overwrite upload
In Dropbox v2 sdk, the need to cover the replacement of existing documents, how to achieve? Similar to V1's ChunkedUploader.finish (path, parentRev). I use the UploadSessionFinishUploader.uploadAndFinish upload mode, can give me some help? Thank you!
-
uploading file to dropbox unauthorized access denied
i get this error System.UnauthorizedAccessException: Access to the path '/data/data/AndroidMaster.AndroidMaster/files' is denied. public void FileUploadToDropbox() { string fileSource = Environment.GetFolderPath(Environment.SpecialFolder.Personal); using (var dbx = new DropboxClient(token")) using (var fs = new…
-
Custom TransportClient with programatic auth flow
So, you must start with your AppDelegate calling this: setupWithAppKey() in order to later initiate the auth flow and retrieve an AccessToken, etc. The SDK will remember your auth info next time and provide an `authorizedClient` – all good. Now, I want to use a custom `DropboxTransportClient` and the only point at which…
-
Downloading file with Swiftydropbox
I have successfully installed Swiftydropbox and my app successfully registers with Dropbox. But I don't understand what to do now if I want to download from a Dropbox. My goal is to download a text file into a URL and then open that URL in a tableview. I think where I'm having trouble understanding the docs is this line:…
-
API v2 - Longpoll Objective C
Hello, I want a good example of a using ListFolderLongpoll, I am getting cursor errors and find little documentation as to how to receive changes notification. I am using ObjC SDK V2.
-
Downloading File to Another Server Instead of Locally
I see that the download function has an overload that specifies a destination. I'd like to download a file dropbox to a webserver I've setup without saving it locally. I'm a little confused by the closure it's defined as ((URL, HTTPURLResponse) -> URL). I couldn't find any documentation as to what that argument should be.…
-
Api error status 409
Hi everyone, I'm trying to upload a file using the javascript sdk, using node js. But when i use the append method called filesUploadSessionAppendV2 is giving me the following error : { [Error: cannot POST /2/files/upload_session/append_v2 (409)] status: 409, text: '{"error_summary": "closed/", "error": {".tag":…
-
Problem Dropbox api 2
hi all , I have a problem in the dropbox api 2 i create apps and i choose file and given me url direct after this Stayed with me to 1 day and when entered him given me error this url I face in him problem https://dl.dropboxusercontent.com/1/view/16hs9nu0z84uj5e/playerEnd/HWID.txt i want take url direct to Even link it in…
-
File Upload w/ Rails 4
I'm trying to upload a file via API v2 from a HTML form, the file gets uploaded to Dropbox but its somehow corrupted, even the file size is correct so the file_contents are going thorugh... I've tested this with Postman, and everything works... Thanks
-
ListerFolder continuation limit
I would like to know how many files you need in a folder before the API decides that it needs to break up the return from listFolder so that further call(s) to listFolderContinue are required. I understand that this limit may change without warning and am not looking for an exact answer, but a ballpark or rough figure…
-
Can DropIn use business app key?
Whenever I try to initialize DropBox Chooser or Saver with app key that belongs to my bussines app, I get {"error": "Not a Drop-in app"} How to solve this?
-
Using implicit grant on frontend web app, where to safely store access code?
Sorry I'm still quite new to web development, but it seems like I wouldn't be able to save the access code into an httponly cookie. I've read that Angular has a way of sending cookies for requests that are only coming from my domain, which would deal with CSRF while the httponly deals with XSS.…
-
No vincula con producto woocommerce
Hola , Estoy creando una tienda de venta de vídeo turoriales y para ello estoy utilizando woocommerce y el pluggin de dropbox. Cuando creo la API una vez que ya he vinculado con el dominio ( he indicado la url en chooser/Saver domains) me da este error en el producto {"error": "Origin does not match any app domain"}…
-
download file API stopped working with 400 error
I use download file API , and i got a token , but it's return 400 bea request error "Error in call to API function "files/download": Must provide HTTP header "Authorization" or URL parameter "authorization" How do I fix it ? this is my code ( angular2 ) downloadFile(fileid){ let headers = new Headers();…
-
include_has_explicit_shared_members returns false
Hi, I was wondering if there was any documentation around include_has_explicit_shared_members? Should this return true for the following example I have a shared folder with a number of files. If I share the file with another user that is not included on the orginal share. Should this return true indicating I need to make a…
-
Android app "Dropbox" want added downloaded files through Android Dropbox API
I use Android API v2 for downloading folder files: *** return mDbxClient.files().listFolder(params[0]); *** *** OutputStream outputStream = new FileOutputStream(file); mDbxClient.files().download(metadata.getPathLower(), metadata.getRev()) .download(outputStream); *** Files are downloading into standarr folder Downloads at…
-
Sharing not possible
We are using PHP on our Webserver. From this site we need to move files to private PC (For translation) and back again. It is working. But I can only sent a link to my translator from my dropbox acount. I would prefer to be able to share the folders with the translator. How can I do that. The option share is NOT visual for…
-
Direct App Auth (iOS) - what is dbapi-8-emm for?
I support direct app auth in my iOS app - by attempting to launch the Dropbox app using the dbapi-2:// URI. This all works fine. In the documentation https://github.com/dropbox/dropbox-sdk-obj-c#configure-your-project it states that I must also consider dbapi-8-emm:// That doesn't seem to do anything on my iOS setup.…
-
API v2 how to test reset (with list_folder)
Just porting my app to use v2 API. Previously I would use the /delta feature to keep a local cache of file/folder names etc. Now I'm using the /list_folder endpoint and all is working ok. One thing I want to test is when the server returns a 'reset' error to indicate that I must regenerate my cache. Anyone know how to…
-
API V2 oauth 1.0
Dear all, is oauth 1.0 still use in the future? That's means use API V2 and use oauth 1.0 through HTTP, TKS!