-
how to display files in listview android??
I am new to android development and this is my first school project. I have followed the procedure of authenticating my app https://www.dropbox.com/developers-v1/core/start/android I want to display my dropbox files as a listview in a fragment and also allow user to download the file if it is selected. any useful tutorial…
-
API v2 upload_session_finish with mode:update 400 error
app permission type: App folder API version: dropbox API v2 description: API "upload_session_finish" with mode:update error ------ Have no idea how the "update mode" works (how it works with "rev" param?). Thanks for your help! screen_shot_01: screen_shot_02: -------------- Console logs: curl -X POST…
-
Unable to download/delete files using File Id in Java API v2
I am trying the to download/delete the file using unique Ids but I am getting error saying ----- "String 'path' does not match pattern" Following is the code snippet : FileOutputStream out = new FileOutputStream("/home/vartika/Desktop/abc.jpg"); try { FileMetadata downloadedFile =…
-
error using DropbBox api v2
Hello I downloaded the latest sdk using maven : <dependency> <groupId>com.dropbox.core</groupId> <artifactId>dropbox-core-sdk</artifactId> <version>2.0-beta-1</version> </dependency> Then I create a project and I added the following jars: dropbox-core-sdk-2.0-beta-1.jar dropbox-core-sdk-1.7.7.jar…
-
Can I do this with Dropbox API?
I'm building an API for my app. I would like my API-server to have a Dropbox account. Each registered user would get a shared Dropbox link of his/her own. When the user drops file in the shared folder the server is noticed and will import the files. The server will delete the file from Dropbox after importing. Instead a…
-
okhttp - Dropbox http API v2
I'm trying to upload a file from android but I'm getting an exception SocketTimeoutException. I have tried use curl and upload the same file and it works. More details: http://stackoverflow.com/questions/33598816/okhttp-dropbox-http-api-v2
-
Business API v2
Hi, I can't seem to be able to use the Business API in its V2 incarnation. First of all, what is the correct header to send? Here it's Dropbox-API-Select-Team-Member and here it's X-Dropbox-Perform-As-Team-Member. This works in v1: url = 'https://content.dropboxapi.com/1/files_put/auto' headers = { 'Authorization': 'Bearer…
-
SwiftyDropbox: uploading from an asset file
Great next step, thanks! But. (isn't there always?). A [more] common use case for file uploading is asset uploading (image/videos etc). (scheme: assets-library) which won't work with this new code. Yes, you could pick up an 'assets-library to NSInputStream library' (wheee, more code!), but it is simple enough to add it by…
-
TVos support
v2 of SwiftyDropbox is great. Prior to the official api release this week, it worked on TVos with a recent-isa version of Alamofire. Downloading files to memory- no problem. The official v2 api release appears to have broken downloads on TVos. Based on some debugging, I'm thinking it's the recent Alamofire changes- but…
-
New API v2 sharing and unsharing errors
Hi, I have a few problems with the new API v2 when trying to remove a user: curl -X POST https://api.dropboxapi.com/2/sharing/remove_folder_member \ --header "Authorization: Bearer <OMITTED>" \ --header "Content-Type: application/json" \ --data '{"shared_folder_id": "<OMITTED REAL FOLDER ID>", "member": { ".tag": "email",…
-
Is it possible to get user's action details on a file ?
Hi, I'm trying to build an app that record every action happening on my Dropbox For business like the Report API for Google Drive to store something like this: what the user did, on which file, at which moment. The expected result would be like the dropbox event page (File Renamed, File Edited etc ...). I setted up the…
-
Using new api v2 can't seem to add folder members to a shared folder.
I have been testing out the new HTTP api (here https://www.dropbox.com/developers/documentation/http#documentation ) which looks really promising! I've successfully shared a folder, but when i add a member to it using https://www.dropbox.com/developers/documentation/http#documentation-sharing-add_folder_member using a curl…
-
DBChooser and iOS 9 not returning to original app
Hi, I had a simple implementation of DBChooser in my iPad app, and it worked fine up until the moment I upgraded my device and SDK to iOS 9. What happens now is: 1) My app launches DBChooser (DBChooserLinkTypeDirect) 2) Dropbox appears 3) I pick my file 4) I get a 'Generating Link' message 5) I remain in the DropBox app…
-
Java - wait until file is finished syncing to dropbox
Hi, I am new to this API so apologies in advanced if this question has an easy answer, but is there any way in Java to tell when a file is fully synced to Dropbox? I have files that need to be downloaded and moved into different folders, but if the file doesn't sync to Dropbox before my code attempts to move it, it will…
-
DropboxServerException (nginx): 404 Not Found (File not found)
I'm developing an android app with Dropbox API (SDK 1.6.3). I have a problem to get file from dropbox (There's no problem a few months ago.) Folder structure (1 file and 1 folder) Libro+ (root directory) - libro.db - images (directory that contains image files) When I access libro.db to download, it raises 404 not found,…
-
I am getting the error "Error in call to API function "files/download"" when uploading and downl ...
oading the files on dropbox? I am using the DropBox .net sdk in my project and I have a Folder "Test" and file "TestFile" in this folder in my dropbox ,now i am trying to download this "TestFile" by using the following code by passing folder="Test",file="TestFile" : async Task Download(DropboxClient dbx, string folder,…
-
How to display the contents of folder on index page when link is clicked in rails?
I have code in rails 4.2.3 where on the index page of the dropbox connect feature, it creates a list of the files in the user's root dropbox directory once logged in. This is the code: def index druidbox = current_user.dropbox_session if current_user.dropbox_session # find the current user's dropbox_session from the…
-
onActivityresult() not being invoked after choosing file using Dropbox Chooser
Hi, I am trying to use the Dropbox Chooser Api in android app to allow the user to choose files from Dropbox. I was able to launch the Dropbox Chooser successfully from the android app, but after selecting the file, it shows "Creating link..." and then returns to the app. I've overridden onActivityresult() method to get…
-
API v2 - Long polling
The docs for long polling seem to be wrong. - https://api.dropboxapi.com/2-beta-2/files/list_folder/longpoll - 400: Incorrect host for API function "files/list_folder/longpoll". You must issue the request to "notify.dropboxapi.com".) - https://notify.dropboxapi.com/2-beta-2/files/list_folder/longpoll - 400: Incorrect host…
-
error HTTP 403 in save_url
I'm trying to use save_url API of dropbox. While it works for public links, it doesn't work for dropbox download links obtained using Chooser tool. I get an error on status update - Error downloading https://dl.dropboxusercontent.com/1/view/kgw8qtee5fw4hph/Apps/twaptest/004.jpg. Received HTTP code 403 from proxy after…
-
preview my files in iframe using http core api
Hi, i am developing an application that let user browse his file inside my web application. I'd like to let user preview his file inside an iframe of such webapp as such as it is done in dropbox webapp when clicking on file itself. I have tryed using https://www.dropbox.com/developers-v1/core/docs#thumbnails…
-
Length of AccessToken
I'm trying to get the AccessToken from the final redirect URL during standard OAuth2.0 authentication process. I wanted to know if the length of AccessToken is always constant and is "64". Can someone please confirm this.
-
Dropbox links only work over SSL
I made this method for getting a Dropbox link to some media I wanted to stream from Dropbox.. public String getLinkUrl(String path) throws DropboxException { DropboxAPI<AndroidAuthSession> dropboxAPI = DropboxManager.getInstance().getApi(); DropboxAPI.DropboxLink dropboxMediaLink = dropboxAPI.media(path, false); return…
-
Polling for metadata changes results in conflict files
I'm using the Dropbox Ruby api to download the metadata for a specific file every five minutes. When I see the file's revision change: file_metadata = client.metadata(SOME_FILE_PATH) current_revision = file_metadata['revision'] I download the file, parse it, and then do something with that data. My issue is that if other…
-
Need to test for Dropbox file share url
I'm writing an email add-in program that needs to flag emails that contain dropbox file share links. I've searched here at the Community. I did find there is no way right now to detect invalid urls. I am looking for something close to that post, but my question is not the same because assumptions can be made about the url…
-
Matlab API
Hello, Is there an API for Matlab to upload and download from my Dropbox? I browsed both the development page and the forum and did'nt find it. If there is no such an API, which way do you suggest to use Dropbox from Matlab? I am not allowed to install the Dropbox client in the computer. All the best, Fernando
-
Increase Rate Limit
Hi, I have an app that is scanning through the users folders and files. However, I am hitting 429 error if I increase the amount of requests that I make. As I am trying to make the scan faster, is there a way to increase the rate limit so that I can make more requests per second for each user?
-
Create shared link error tells me nothing
Hi, i'm doing a file search via dropbox.files_search("my folder path") and would like to create shared-links for each of the results via dropbox.sharing_create_shared_link(match.metadata.path_lower). It throws a CreateSharedLinkError and I'm not able to get any useful information out of this. Trying to catch exception as…