-
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…
-
Know if access_token is for an App Folder or Full Access?
We have a bunch of mixed up authenticated accounts from the past few years in our database, where some were given "Full Access" early on and later it was changed to just using the "App Folder". Is there any way of using the API to know if the access_token we have is within an App Folder, or to the whole account? We…
-
/metadata/link -> api v2 now forces user authentication?
In API v1, my app enjoys the ability to call /metadata/link on a shared link to find out information about it, WITHOUT requiring the user to login. This is because the v1 endpoint only requires client auth & secret. In API v2, the migration guide specifies to use /2/sharing/get_shared_link_metadata, which requires USER…
-
i have problem with dropbox chooser, can someone help me
everytime i get this error {"error": "Invalid app_key"} how can i fix this ? i am using angular JS in my client side here is my code. scripts, <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropbox" data-app-key="vw2oz6a61zahabi"></script> html <a…
-
Best way to know if a token is still valid?
Hi all, i look into API docs endpoints, and i can't find out the correct way to establish if a token is still valid or not. Or better i could but a suggestion maybe is best ... I mean this: on an user interface, the generated token is shown to user when he load his profile. Than i would like know before than the page load,…
-
[Java SDK V2] What happend to forgotten partially uploaded files?
Let's assume that I start uploading some files do Dropbox via Java SDK v2 by command like this sessionId = tested.files().uploadSessionStart() .uploadAndFinish(in, CHUNKED_UPLOAD_CHUNK_SIZE) .getSessionId(); dbxCliend.files().uploadSessionAppendV2(cursor) .uploadAndFinish(in, CHUNKED_UPLOAD_CHUNK_SIZE) But then I will…
-
How to retrieve shared link Dropbox API?
Hi, I've been working for hours on this, I'm using C# and I'm working with Dropbox.Api I have a folder in DropBox with .png files, I want to use a raw link to those .png files so I can use it in my code like this :<img src="dropbox_link_to_image"> I've used the CreateSharedLinkWithSettingsArg() method and it creates a link…
-
Help realise download file from Dropbox folder on Visual Basic 2015
I need help in realise downloading file from Dropbox folder on Visual Basic 2015. I found example code only on ASP.NET, but I can`t translate it to Visual Basic code. async Task Download(DropboxClient dbx, string folder, string file) { using (var response = await dbx.Files.DownloadAsync(folder + "/" + file)) {…
-
[Java SDK V2] How to do batch upload?
Hello, I am trying to make Batch upload work by using JAVA SDK v2. I read this documentation and tried to perform a batch upload. There is a general algorithm, which should use direct HTTP calls. 1. First point sais "Group files that are being uploaded to into one or more batches....". I don't know, what exactly is Group…
-
How do I create a shared link with expiry date from API (.Net SDK)?
Would you be able to give me an example how to add an expiration date to a shared link? This is what I have so far: Dropbox.Api.Sharing.SharedLinkSettings sls=new Dropbox.Api.Sharing.SharedLinkSettings(); ???? var result = await dbx.Sharing.CreateSharedLinkWithSettingsAsync(remotePath,sls);
-
Help Android Core API .search() returns Zero results Help
For no reason, the following code stopped working correct and the .search() returns an empty Entry list. This app has been working without problems and alterations for months, serving hunderds of users. The file "myfile.txt" is always present inside the folder, but the .search() method cannot find it anymore. Please help…
-
create_shared_link: stdClass Object ( [error_summary] => path/not_found/.. [error]
Hello ... i'm stuck in a stupid thing. Two different methods, one create folder, the other create_shared_link_with_settings. I create a folder, so i create a shared link for it immediately after, all work ok. I so try to call on another part of the code, the same method create_shared_link_with_settings, which return,…
-
What exactly is namespace
Hello, I read this documentation and I did not understand, what exactly is meant by "namespace" which is being locked. The documentation sais this: "You can think of a namespace as a collection of files and folders in the internal representation of the Dropbox file system. Each user’s private Dropbox folder maps to a root…
-
Upload a file with a given path
m using the new Dropbox SDK v2 for .NET. I'm trying to upload a document to a Dropbox account. public async Task UploadDoc() { using (var dbx = new DropboxClient("XXXXXXXXXX")) { var full = await dbx.Users.GetCurrentAccountAsync(); await Upload(dbx, @/MyApp/test, "test.txt","Testing!"); } } async Task Upload(DropboxClient…
-
Using save_url endpoint w/out knowing the file type
Hi everyone, heres the thing: I have an app where user can provide links to resources (direct download). These resources could be anything from an image, to fonts or zip files. We actually don't know the specifi filetype of each of these files. Within the app, other users can save these files to their dropbox, and for that…
-
Disable desktop notifications for app's folder
I'm using Dropbox Sync to write down small files to sync things in my iOS app. Because records and datastores are too limited in my case, I can't use Datastore. Unfortunately, these internal files are generating a lot of notifications on my desktop. It annoys the user. The solution is to disable sync of this folder on…
-
Permission Denied - Okhttp Dispatcher
I am having trouble uploading to my folder because of a permissions error Here is my error: FATAL EXCEPTION: OkHttp Dispatcher Process: com.example.kestites.exportdatabase, PID: 3131 java.lang.SecurityException: Permission denied (missing INTERNET permission?) at java.net.InetAddress.lookupHostByName(InetAddress.java:464)…
-
SwiftyDropbox Getting token when handling return URL
Writen an app which needs to connect to multiple drobox account so following the instructions here http://dropbox.github.io/SwiftyDropbox/api-docs/latest/ I am handling the return URL after authorising and the page says * "at this point, the app that is integrating with the SDK should persistently save the tokenUid from…