-
Getting File Metadata after doing upload - Android
To upload in Android I am using sDbxClient.files().uploadBuilder(pathName) .withMode(WriteMode.OVERWRITE) .uploadAndFinish(inputStream); which returns, what? The docs say it returns the server response as a "R". How do I extract the file metadata from the server response to uploadAndFinish? I want to get the server…
-
Upload Image with Dropbox API
Hi, When Iam uploadinh the image using the curl code.The response is 200 ok,but when iam viewing the image in the dropbox .It says unable to preview this type of images.My code is: $fields ='@'.'test.jpg'; $headers = array("Authorization: Bearer ".$token,'Content-Type: application/octet-stream', 'Dropbox-API-Arg:…
-
How to verify token correctness after instantiating DbxClient?
I'm verifying several things during my component initializitation, one of which is the "state" of the newly initialized DbxClient. Is there any way to determine whether the token passed as a argument is correct or the general host is responding? I would expect methods like "assertTokenCorrectness" or…
-
Failed to set webhook
When I try to set a webhook URL to dropbox I got the folloing eeror mesage. "in dropbox webhooks Operation timed out after 10000 milliseconds with 0 bytes received"... And also I struggled alot to know the what is the exact format of the webhook URL and what are the perameters which I have to pass. I request and suggest…
-
get_shared_links returns empty array
When I call the get_shared_links API with a path, I get back a 200 but an empty links array. So in this scenario I call create_shared_link_with_settings. This API returns a "shared links already exist" error. I am passing in a path of /Records/paul/Births/Thompson-Hayward-20160403133425.backup and my app is…
-
How to appear "Sign in with Google" button in the login page using Embeded WebBrowser (C#)
I am building c# application for connect DropBox. For DropBox authente, I display dropbox login page within IE embed browser using api like this, var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, ClientID, new Uri(RedirectUri), state: oauth2State); AuthBrowser.Navigate(authorizeUri); In the…
-
Get the URL path from a link bookmark .url file
Hello, In my dropbox folder I have a bookmark to a website URL. For example: http://www.google.com - this will be saved as 'Google.url' in my dropbox folder. Which API will return 'http://www.google.com' so that in my app I can make this a clickable link? Thank you, Andrew
-
I can insert brackets naming a folder? ... warning say brackets aren't allowed ...
-
Developer vs Production
Not sure if this is the correct board. The developer part of using the api states that you can have up to 500 connections. However, once I reaced the 50 mark, received a letter saying: "...you have two weeks to apply for and receive production approval before your app's ability to link additional Dropbox users will be…
-
Retrieve with a File limit and File count
Last post i've do on answer on another topic asking about app folder or full dropbox, and how to detect, was completely not necessary, once i've see how API answer in these cases and how all work about. Now, i've see there is around a post about files count and folder quota (if i'm not wrong on remember) but from the…
-
Issue medata api v1
Hello ! I am using the request metadata of your api v1 and i am getting successfully the contents of my directory. But it doesn't show / count the files with the Extension .zip, gg, ggb and ggt. I am not used to http request. So it's mostlikely that i am missing an argument or something else. The request :…
-
Use Dropbox as storage for site
Hi. I want to use dropbox as off-site file storage. But I have doubts that dropbox doesn't mind of usage which I am considering. How I see it: I have page on site where signed in users can communicate with site's admin. I want to give the users an ability to upload files in dropbox without need for this users to have an…
-
Member Usage Reporting
In the Business account Admin console the members list has 3 columns. Name,Status and Usage. The usage column shows total disk space being utilized by the user. Unfortunately there is no way to export this view. I need the usage data for an internal audit. Is there a way to get this information programatically (via java…
-
Get Quota/ vb.net DropboxClient API
Hi, since one year i use a small "tool" to upload my files to DB periodically. Getting used space works fine too, but how can i request the total quota / remaining free space? Dim box = Await dbx.GetSpaceUsageAsync() But i dont see a suitable namespace / attribute to get my needed value. I just checked the documentation…
-
direct connect to api host using ip address is available?
Hi, I'm trying develop using dropbox's api. Since our development environment, we're planning to send HTTP request using "IP adress". such as , "url -x POST https://X.X.X.X/2/files/upload --header ....." instead of "url -x POST content.dropboxapi.com/2/files/upload --header ...." However, This trial seems to denied on your…
-
Dropbox file download with share url via api
It's possible to download a file in dropbox knowing the share url , for example: https://www.dropbox.com/s/gjfpl9m4f88oeqz/htaccess.txt?dl=0 using the API?
-
dropbox-core-sdk upload memory issues
I wrote simple app to test upload with dropbox-core-sdk 2.1.2. It opens stream from a file located at Dropbox InputStream fileContentStream = getClient().files().download(path).getInputStream(); and passes it to upload method (within same account, but should be same even for different accounts):…
-
Saving a file with a custom extension
I need to save a file with a custom defined extension (e.g. test.nc). How can I do that using the Dropbox saver?
-
Is there a way to to see who edited the file?
Is there a way to see, via the API, who edited the file? I'm trying to disrupt Google Docs, and that's a core feature of their revision history.
-
Dropbox for Business Team Folders owner
Hi, Would it be possible to clarify something for me please. I'm currently work with API v1. I understand that it's being deprecated next year. But I still some outstanding issues with v2 (posted a separate question for this) When you sign up for a Dropbox for Business account by default you have a team folder placed in…
-
Create a link to a PDF file by '/media' (POST request) and embedding in the browser
I tried to embedding PDF file that I get from '/media' API in HTML file. Unfortunately, the response contains the header: "Content-Disposition" which defined as "attachment", so the file can't opening as a view in the browser and the user need to download the file only. It is possible to change the header?
-
Is there programatical way to know that shared link is link for deleted file?
Hi There is shared link for file. If file is deleted then link returns Dropbox page with message: That file isn’t here anymore And returned HTTP status for request is 200. For example https://www.dropbox.com/s/pg29qcvw190eupr/%231111-11.jpg?raw=1 May be, this is good for user. But this does not allow to know…
-
Is it possible to upload more than one document a time? (API)
I have the following function that upload files to Dropbox: private async Task<string> Upload(DropboxClient dbx, string localPath, string remotePath) { const int ChunkSize = 4096 * 1024; using (var fileStream = File.Open(localPath, FileMode.Open)) { if (fileStream.Length <= ChunkSize) { await…
-
DropBox Chooser for Swift developers maybe?
While the Chooser implementations for iOS are present here. It is however limited to Objective-C. Is it possible that someone forgot to verify the hows of Swift DropBoxChooser implementation? image StackOverFlow GitHub I've roamed the Dropbox API support and stack overflow, needless to say, few have an answer. thank you
-
Android Core API .search() returns empty list
For some reason, the following code has stopped working as it used to. The .search() method now returns an empty list. This code has been working without any problems and alterations for months, serving hundreds of users. The file "myfile.txt" is always present inside the folder, but the .search() method cannot find it…
-
Problem and 2 possible solutions for Cordova-PhoneGap OAuth
The problem with Cordova / PhoneGap is that is isn't really a browser nor is it a server and to get a user oauth-authenticated requires browsing to the dropbox choser url. So, a dropbox app must initiate an external browser (a browser on the device, but outside of phonegap, so no cross communication is possible). The…
-
Possible to accept sharing invitation via API v2?
Suppose someone uses dropbox.com to email me an invite to a shared folder. The link looks like https://www.dropbox.com/l/scl/AAABIgLonGIDsTriNG If the user inputs exactly that link into my app, is there any way for my app to accept that invite (thus attaching/mounting it to the user's dropbox), and then get the local /dir…
-
I get a NameError when I use the noredirect code out of the documentation for python.
There is something wrong with the example code in the dropbox documentation from dropbox import DropboxOAuth2FlowNoRedirect auth_flow = DropboxOAuth2FlowNoRedirect(APP_KEY, APP_SECRET) authorize_url = auth_flow.start() print "1. Go to: " + authorize_url print "2. Click \"Allow\" (you might have to log in first)." print "3.…
-
API v2 for iOS, Mac OS X, Windows, Linux, Android - need strategic advice
Hi, I need advice on implementation of Dropbox API v2 for all platforms mentioned in the subject. I have an app that currently uses iCloud to sync data between iPhone, iPad and Mac and would like to use Dropbox to do the same on all platforms. Currently I use Dropbox Core API v1. I managed to take my iCloud implementation…
-
Expose https://www.dropbox.com/team/admin/members/list_v2 as API Endpoint
Could you be so kind and expose https://www.dropbox.com/team/admin/members/list_v2 (which is called in a team admin console webinterface) as API Endpoint. Especially the "storage_used" field per user is very interesting to get an actual report of currently used storage per user in a single call. Currently we have to…