-
Python 2.7 upload error
Hi, This was working up until a few weeks ago and I can't for the life of me see what is wrong - maybe a fresh set of eyes will help. I am trying to loop through the contents of a directory and upload the unique files to an applicaiton folder in dropbox apps: import dropbox import os from datetime import datetime…
-
Folders
I am surrently using: Private Shared Sub FileUploadToDropbox(ByVal filePath As String, ByVal fileName As String, ByVal fileSource As String) Dim dbx = New DropboxClient("<REDACTED>") Dim fs = New FileStream(fileSource, FileMode.Open, FileAccess.Read) Dim updated = dbx.Files.UploadAsync((filePath + ("/" + fileName)),…
-
Filesize limit for downloads from the chooser
Is it possible to set a limit on the size of files that a user would be able to select for download from the chooser? ( I am hoping to keep it to under 2 gigabytes )
-
Download files from Dropbox using SDK Javascript
Hi, all I'm trying download files from my Dropbox using SDK Javascript, but I can't. I'm calling this code from my button html, but nothing happen. Don't show error message or something. I readed about the "filesDownload" documentation and apparently is the same code for upload files (that I founded to upload files with…
-
How to check folder exist or not and how to upload image using URL using C#
Hello there, I am using Dropbox.Api. I want to check if folder exist or not. I tired using try and catch block but I think there should be a better way for doing this. Here is my try catch block: try { var isFolder = client.Files.GetMetadataAsync(path).Result.IsFolder; } catch (Exception e) { // TODO Auto-generated catch…
-
Process folder in cloud / How to start?
Hi all! Here is what I want to do - the problem is, I have no idea where to start. Any links/examples/tutorials are welcome. I want to provide a service for potentially all Dropbox users. So this is not just for me or a couple of company owned PCs. My users/customers should place a bunch of PDFs in a certain Dropbox…
-
Best practice to check if a folder exists in .NET?
Hi there! I'm asking myself what's the best practice to check if a folder exists, because I made a fudge in the meanwhile and the performance is not optimal. I'm giving the option to our users to overwrite or not the desired uploading file. I actually perform a DropboxClient.Files.SearchAsync with a try catch and if it…
-
Download files from dropbox link I received in email using API?
We recive 100's of emails containing a dropbox share link in the email body. We have written an applicatoin to open the email and extract the Dropbox link. Is there any way to use the Dropbox API to automate the process of downloading the documents from the link to our own dropbox account? Could we download them to a hard…
-
Issue with ListFolderAsync()
Hello, I try to use ListFolderAsync() to get first experience with DropboxApi. On Dropbox I generated my first app called "FirstTest12345" with permission type "App Folder". My first test should show me the content of some folder (e.g. root "" or manually generated others "/test"). When I try this, there is only a result…
-
Temporary Link
Hello. How do I make a Temporary Link for a phtoto that I just uploaded to dropbox? I cant figure it out on the api v2 I'm using the Python Dropbox SDK btw. Thanks a lot!
-
HTTP Dropbox download response
I am using HTTP Dropbox API for Uploading and Downloading the files, I was created the C# API for the Dropbox file upload and download and Calling from AngularJS, I was receiving the some sting value as Dropbox download response, String as mentioned below. Guide me to convert this string as Actual file in AngularJS.
-
How to get the UserId for HTTP File Dowload?
https://www.dropbox.com/s/r3p1au45g3rylvs/advocated.jpeg How to get the UserId like this for my dropbox r3p1au45g3rylvs
-
Dropbox API to download All Content
I am using HTTP Dropbox API for Uploading and Downloading the files, I was created the C# API for the Dropbox file upload and download and Calling from AngularJS, I was receiving the some sting value as Dropbox download response, String as mentioned below. Guide me to convert this string as Actual file in AngularJS.
-
API V2 - Cannot delete files
I am trying to use the deleteV2 method of the DropBox API V2 and keep running into a DeleteErrorException. Here's the line resulting in the error: client.files().deleteV2(path); where path matches the pattern "(/(.|[\\r\\n])* )|(ns:[0-9]+(/. * )?)", as described in the api docs. The exception returns the following message:…
-
Is it possible to re-enable webhook via API?
At the moment, if your app reports more than 35 errors in the past 10 minutes and exceeds a 4.5% failure rate, your webhook will be disabled. As per this page: https://www.dropbox.com/developers/reference/webhooks#documentation When this happens, is there any way for me to re-enable it again (via API or some other…
-
PDF thumbnail URL instead of the file
Hi, I am using the API v2 and trying to retrieve the thumbnail URL of PDF files so I can use them inside <img> tags of my HTML code. Currently I use this endpoint and headers: POST https://content.dropboxapi.com/2/files/get_thumbnail Authorization: Bearer <access token> Dropbox-API-Arg: {"path": "/<path to file>.pdf",…
-
How sensitive are the app key and app secret?
It's all in the title really, what can someone achieve with my app key and app secret? The api needs to be authenticated against a user to access data. What are possible bad outcomes of a compromised app secret and key? Thanks!
-
tokenRevoke() won't unlink app on android
Hi, I'm making an android app using dropbox api v2. I want users to be able to revoke their token and unlink my app from dropbox from within the app itself; Essentially "logging out" of dropbox from the app. I seem to have gotten it to work using the tokenRevoke() method: mDbxClient.auth().tokenRevoke(); However when i log…
-
Xamarin Forms DropBox Api v2 C# Redirect Uri for iOS and Android
I used Dropbox api and successfulley got the token and and uploaded and download to and from Dropbox from both iOS and Android. Where my problem arise when the user gives app permission to dropbox there appears a code that has to be copy pasted by the user which is then used to get the access token. Recently I found some…
-
need help on dropbox api
i got the list of all files and folder using https://api.dropboxapi.com/2/files/list_folder API now i just want the url of image thumbnail, i also checked /get_preview and /get_thumbnail method from doc but not getting image thumbnail. Please let me know how can i get my image thumbnail without download or export that image
-
I can't get a logged in instance of DropboxClient
In another post about the 10814 error it said I could ignore the error, but in this case it looks like I'm not getting the instance of DropboxClient even after I log in. I get the following messages in my debug window: Spoiler DropboxViewController.viewWillAppear(_:) 2018-08-06 20:23:28.434567-0500 Gnolaum[35840:1973880]…
-
Why does PhotoWatch use Apple App Groups instead of just Dropbox?
Why does the PhotoWatch SwiftyDropbox sample take the design feature to use Apple App Groups instead of just a Dropbox folder? Is there a particular advantage in this design approach?
-
How do I get the information for the account that is currently logged in?
I would like to show the user the account that is currently logged in when he opens the app if he is already logged in in SwiftyDropbox in iOS. I am not able to find the documentation for that. There is currently no search feature in the documentation for Dropbox for Swift.
-
Use nginx to add access token to requests
I am trying to set up a simple proxy server on my local network which will add an Authorization Header and forward requests to the dropbox api. In particular to /2/files/upload I have tried simple to complex nginx configurations but always get 502 responses. Usually complainging about CORS. for example: my application does…
-
Peer closing connection before file downloads
Hello, I am facing problem in downloading a file from dropbox. Please help me to solve this problem. I am using Quectel module and Drop box APIs to download file from dropbox in my unit, Quectel module establishes connection with the Dropbox using AT commands and starts downloading file.Earlier it was working fine and I…
-
direct download link - mobile phone
hi, i am using the api to upload movies with MP4 extantion. and using DIRECT download links (DL=1) to download them. when i download the links in a desktop computer, it saves the file with the orginal filename and the MP4 extantion. but when i am using the link with a mobile phone (i tried several phone android) it saves…
-
Error message: The app has reached its user limit
Hello, I know this question has been answered before, but my issue is not resolved. The app is in development, number of max users allowed are 500. I am the first tester. I get the error message "the app has reached its limit", see screenshot attached. Thanks for your help
-
objc API: filesRoutes listFolder method not returning files
Hello, My app has been on the iOS app store for years syncing successfully with dropbox. In the past few days many customers have encountered an error that seems to be a result of the following method not returning any files, but it does return one folder: [[dropbox.filesRoutes…
-
File properties
Can anyone tell me why exactly I need to create a team to add file attributes to a file? All I want to do is add a single attribute called "FileParentIdentifier" (which will hold a string value i.e name of folder". It is very easy to add a custom attribute to file in Google Drive SDK. But in Dropbox, we need to create a…
-
Empty response for /get_current_account
Hi, some years ago I used the dropbox Api v1 and now I try to switch to v2. I managed to get the authorization done but now I'm struggeling with the /get_current_account endpoint. my php looks like that: public static function dropboxAuthorize($token) { $curl = curl_init(); curl_setopt($curl, CURLOPT_VERBOSE, 1);…