-
Programmatically download someone's shared file?
I'm writing an app that needs to be able to download files shared by other users (via a URL, with user's consent). Now I know by default the URL contains "dl=0" part which prevents automated DL, and I can rewrite it to "dl=1" and fetch the file. But is that the right and legal way to go? Is this a supported mechanism that…
-
Why is it so slow uploadfile
I'm using the UploadFile two time and I recive the direct share link of both files but perdure like 3 s for do all that, I think it is a lot time. The calculation was 63 KB (first file) and the second file 72 Bytes in 3.84 s ¡It is good!, can help me to performance please? Thanks
-
Any way to filter in the server?
Is there any way to filter files and folders? Specifically I´m looking for a way to receive all the subfolders (without the files) of a specific folder. I know I can do it in the client, but I don't want to waste network traffic unnecessarily. Regards, Alvaro.
-
create and return shared link to file Android example
I have an android app that uses the dropbox api to upload a file to drop box. This functionality is working as expected. Now I want to create a shared link to the file I just uploaded. I am confused and unable to get this working. Is there an example of how to do this for android that you can point me to? I'm missing…
-
How to upload files in Dropbox API v2 C# using Nemiro.OAuth
I'm trying to upload file but showing me 400 error.I'm trying the below code for file upload- RequestResult strReq = OAuthUtility.Post ( endpoint: "https://content.dropboxapi.com/2/files/upload", parameters: new HttpParameterCollection { {"path", "path"}, {"autorename","false"}, {stream} }, authorization: AccessToken,…
-
FilesRoutes.DownloadAsync Method (String, String) Revision Format .Net
DownloadAsync specifies that its second argument is deprecated and you should specify the revision in the path. How exactly do we specify the revision in the path? Do we just append it to the very end of the path? Is there a specific format we are supposed to use?
-
Shared file link not working programatically
I am creating an android app that downloads a shared file though normal http, not using the dropbox api. I am creating a shared link to the file manually, then I am using that link in my app. However, I am not getting the file back. Instead I am getting some dropbox file. Here is the beginning of what is in the file I…
-
Creating simple image gallery on website powered by Dropbox
I am an average PHP programmer, and I would like to create an image gallery on my website powered by one of my Dropbox image folders. I intensively searched through forum and development section of dropbox but still get a bit confused. Here is the idea. Amongst all menu links on my page one would be Image gallery. I think…
-
Sharable link to file using Java API v2
Hello, I am able to upload a file with Java API v2: try (InputStream inputStream = new FileInputStream(localFile)) { return mDbxClient.files().uploadBuilder(remoteFolderPath + "/" + remoteFileName) .withMode(WriteMode.OVERWRITE) .uploadAndFinish(inputStream); } catch (DbxException | IOException e) { mException = e; } How…
-
How to download a file and save to local PC
I am new to using php and dropbox, so this query may seem simple. My application is to integrate the ability to upload/download to a specified folder in my Dropbox. I can do the following in php (with the help of CodeCourse) * authenticate * list my files in a given folder * upload a file to a given folder I am struggling…
-
pending_upload parameter in create_shared_link
The create_shared_link function has been deprecated. Is there another way to get a shared link via the API for a file that is still pending upload? The new function (create_shared_link_with_settings) does not appear to have a similar option... or am I missing something? This is a VERY handy function so we can immediately…
-
How share files direct to dropbox via intent?
Hi all. The dropbox have a intent to share files, i see the dropbox when i want share a simple image on Android. Now my question is, how share a image or file direct to dropbox via intent? like the user selected the dropbox icon? I dont want show all apps to share, only share direct via intent. for the google drive i use…
-
Android InvalidAccessTokenException at attempt to load file after auth.
I've got InvalidAccessTokenException at any attempt to upload file to Dropbox. For authorization I use next algorithm: Auth.startOAuth2Authentication(context, APP_KEY); //granting access //previous activity is reopened String accessToken = Auth.getOAuth2Token(); DbxRequestConfig requestConfig =…
-
How to get metadata for files and folders in Dropbox REST API v2 C# using Nemiro.OAuth
I'm converting Dropbox features from v1 to v2. In Dropbox v1 I'm fetching metadata using the below code- RequestResult strReq = OAuthUtility.Get ( "https://api.dropbox.com/1/metadata/auto/", new HttpParameterCollection { { "path", "" }, { "access_token", "AccessToken" } } ); Now I want to make the same call in Dropbox API…
-
Create an instance class of userSelectorArg with parameters .NET V2
I want to do the MembersGetInfoAsync(IEnumerable<UserSelectorArg>) but am wondering how to I create a new instance of the UserSelectorArg with an email of the user I want? I can only find a constructor that takes 0 arguments but I want to create one with a specified email so that I may input it into the above function, or…
-
how to get all files in pdf format can dropbox convert before i download it through the API
I have doc file on my dropbox when i access these files from my app i want them to be in pdf techincally i want them to be downloaded in pdf
-
Android - Download image miniature
Hello, how i can load all the images from a dropbox account on a listview with imageviews?
-
list_shared_links from folder
Hi. On the API says "If a non-empty path is given, returns a list of all shared links that allow access to the given path" I have a folder with 5 files and 3 of them has a shared link When i ask for list_shared_links and pass the path to this folder the result is empty. <SPAN><SPAN>curl -X POST…
-
share file inside a folder by id
Hi. I'm trying to share a file by his id. If the file it's on the root folder, using '/create_shared_link_with_settings' i can pass only the id, and testing on the api explorer works fine. So, i tried to do the same with a file inside a folder. <SPAN><SPAN>curl -X POST https://api.dropboxapi.com/<SPAN…
-
Android APK - DEX Limit because of DropBox methods
I run into the DEX Limit because of the DropBox methods. There are 9998 methods. Are there any smaller packages to add? Android with the "support" librarys are splitted in smaller packages so you can add what you need instead of ALL. I need DropBox only for file upload and download so I think I don't need the full SDK.…
-
Getting "invalid_token './' " after copying User Token
I'm making a program in VB.Net and I have a form to paste the user Token but when I click "Ok" an error is displayed. It says: "invalid_token './'". This is my code: Private Async Function GetUserData() As Task Try If UserToken = Nothing Then Dim enable As New EnableDropBox If enable.ShowDialog =…
-
I got ERR_CONNECTION_TIMED_OUT when redirect user to redirect uri
ERR_CONNECTION_TIMED_OUT when redirect user to redirect uri
-
get_metadata last modified user
The /2/files/get_metadata endpoint gives the following metadata properties for files: .tag, name, path_lower, path_display, id, client_modified, server_modified, rev, size It does not return the id of the user that did the last modification. Can this information be obtained? When the file has been shared, the docs suggest…
-
How to display Progress Status while uploading/ downloading a file ( in .Net ) ?
I have tried with downloading and uploading functions, it gives the progress data alright, but I can not set that data to progress bar. I have worked with couple of hours but can not place that process status in the progress bar or any other way. I have attached codes of Upload private async Task ChunkUpload() { string…
-
ParseTokenFragment
I am using Dropbox.NET The call to parse token fragment recently stopped working. Glancing at the incoming URL it looks different then it used to. Have there been changes to the URL sent to me by dropbox that have broken that call.
-
How to get Progress Status while uploading/ downloading a file ( in .Net ) ?
I am using DropboxClient.Files.UploadAsync method for uploading file and DropboxClient.Files.DownloadAsync for downloading. Uploading and Downloading works perfectly but can't get the progress status. A example in C# will be very helpful.
-
sharing_list_shared_links(...) repeatedly returns the same cursor.
When I call sharing_list_shared_links(path=None, cursor=None, direct_only=None) in Python using the official SDK v2 the resulting ListSharedLinksResult contains the same cursor, which leads to an endless loop in the worst case. The has_more flag is true in every iteration. We are using the account for continuous…
-
shared app directory, exists but inaccessible to my app
Created an app, linked to a specific directory. Lets call it acme. Create acme directory on my dropbox which I shared and placed some more directories and files within it. Able to authenticate as the app using an HTTP API call. But when I call the share files API call; I get an error, like it doesn't work. curl -X POST…