-
Is it possible to copy file by id and specify filename
I'm using the copy_v2 endpoint and I see that you can pass in file ids instead of paths, but is it possible to update the filename at the same time? Thanks!
-
File lock feature & Properties API
This topic continues my previous question Properties API. I tried to continue conversation there but, for some reason, my comments are not published. So I decided to start new conversation. I will explain why I need the custom properties (Properties API). My application uses Dropbox as cloud storage for user files and…
-
Dropbox Javascript longpoll CORS issue
Hi, I'm having problems with implementing longpolling from a web browser. More details here: http://stackoverflow.com/questions/41427038/dropbox-javascript-longpoll-cors-issue Has anyone managed to successfully implement longpolling into their web app? If yes, how?
-
list_folder/longpoll seems to not work with CORS
Hi, I'm currently consuming the HTTP API via javascript and I get a CORS error on this endpoint. Specifically the OPTIONS preflight returns a 501 Not Implemented. Will this be implemented?
-
Search all files using searchbuilder
I am trying to list all files in the folder using searchBuilder, when I passing the multiple extensions passing in Query which results Zero values. For Eg: String query = ".pdf"; Long max = 100L; Long stat = 0L; SearchResult sresult; SearchMode mode = SearchMode.FILENAME; sresult =…
-
ObjC SDK 3.2.0 Carthage compilation issue
Hi, Back in May, I successfully installed the Dropbox API v2 SDK for Objective C, version 3.1.0, for use with a Mac app, using the Carthage system Now, trying to update the SDK to the latest version (which I belive is 3.2.0), I am running an issue. The problem not only occurs when trying to update the existing SDK but also…
-
v2 API iOS Objective-C SDK: crash after file upload
I'm getting a lot of crash reports after updating my app to the v2 API using the iOS Objective-C Dropbox library. The crash log seems to suggest something internal with the Dropbox library ... can someone take a look and verfiy what might be going wrong? The file seems to upload just fine, but the user gets a crash. My…
-
Create Sharelink issues for files not uploaded yet
I set this parameter before generating a sharelink: dropbox.sharing.PendingUploadMode.folder This works fine as long if I don`t go deeper that one (not yet indexed folder) folder. So if create folder/folder2 and they are not indexed yet the API will throw an error on generating a sharelink for folder2. I understand this…
-
UploadAsync - File got corrupt after uplaod - C#
Hi, I'm trying to upload photos to Dropbox account using v2. FileStream fsBlobData = new FileStream(filePath, FileMode.Open, FileAccess.Read); byte[] bytBlobdata = new byte[fsBlobData.Length]; using (var dbx = new DropboxClient(accessToken)) { using (var stream = new MemoryStream(bytBlobdata)) { var response = await…
-
system.net.http missing
Hi All I have a win forms app and am moving to using the v2 api (from NuGet) My App targets the 4.6.1 framework for win64 On the dev box I have no issues. however I am finding that once deployed using click once an error is thrown when attempting to call Await client.Auth.TokenFromOauth1Async or any async function. The…
-
why does /2/users/get_current_account endpoint require a post request
Hello, the /2/users/get_current_account seems a bit confusing in its usage. it requires * "post" verb * null as body content * "application/json" as content-type afaik, null is not a valid json content, but the api server accepts nothing but that value in conjuction with content-type. a get operation here seems more…
-
Carthage compilation of ObjectiveDropboxOfficial fails, 'DBFilesCreateFolderResult.h' file not found
I'm migrating the dropbox dependency for an objective C iOS project to v2 by compiling the newest Objective C Dropbox SDK using Carthage. My intention is to add it as a subproject, since it's an older project. But like the title says, running the following: carthage update --platform iOS is failing. Same thing happens if I…
-
OAuth access token type
Currently during authentication retyrned URL contains token_type=bearer parameter while respective header must be Bearer (else 400 is returned). Is that possible to return correct case in token_type so one could just use it in header? Or it is by-design and developer must always implement own mapping for auth types like…
-
OAuth: Access token per infrastrucure or access token per client?
We have two elements (clients) in our infrastructure: * First Client: A service that receives webhooks. Each time a webhook is received it tries to get information from dropbox. * Second Client: A user interface(.net) that allows to download files from dropbox. Both services are accessing to dropbox. Should we ask for an…
-
Oauth callback into several service instances
We're using 3 service instances under a load balencer. In order to create an oauth session, we're using two endpoints: The first one is named `/start`. We are using this code: DbxAppInfo appInfo = new DbxAppInfo("---", "---"); DbxRequestConfig config = new DbxRequestConfig("---"); DbxWebAuth webAuth = new…
-
Creating Account
Do drop box provide any api support by which I can create a new dropBox account using java.
-
Confirmation of audit log
I'd like to check the audit log using python module. TEAM_AUDIT_TOKEN = 'xxxxxxx' dbx_team = dropbox.DropboxTeam(TEAM_AUDIT_TOKEN) dbx_user = dbx_team.as_user("dbmid:xxxxxx") end_time = dt.datetime.now() start_time = end_time - dt.timedelta(hours=2) check_times = dropbox.team_common.TimeRange(start_time,end_time) res =…
-
Dropbox API V2 GetAccountInfo() - C#
I'm migrating from Dropbox v1 to v2, how can i proceed with GetAccountInfo() to get details such as: UserName, UserId, QuotaUsed, QuotaAvailable, SharedUse. How do i get this with v2. Previously by using v1 it was like: var accessToken = new OAuthProtocol.OAuthToken(auth_Token, auth_Token_Secret); var api = new…
-
How to get OAuth2 access token from OAuth1 token and secret with API v2 using C#
Hi All Im trying to detirmin if its possible to "convert" OAuth1 token and secret with API v2 in C# Can anyone share some code in C# How i might go about doing this for a desktop app that needs to access user dropbox accounts many Thanks
-
Right way to create shared link with password? (C#, .NET, ApiV2)
I'm using following combo: C#, .NET, ApiV2 What's the right way to create shared link with password? Tried: Console.WriteLine("----- shareFile function starts -----"); RequestedVisibility visibility = (password == null ? null : new RequestedVisibility().AsPassword); DateTime date = DateTime.Now.AddDays(7 * dueInWeeks);…
-
API Can not download files under app Permission type App folder using API?
I created two apps one app have full access and another have folder permission access only now when I use generated token from full access permission the php API download file working fine but when I use the generated token from folder permission the api return status code 404 ?
-
Get source URL of Photo/Video - Dropbox API v2 - C#
Hi, I need to get source URL's of each photos or videos on Dropbox account. Earlier with v1 is i was gettting file path like below: var api = new DropboxApi(dropbox_appkey, dropbox_appsecret,accessToken); var metadata = api.GetFiles("dropbox", ""); But with v2 i'm trying now: using (var client= new…
-
Changing team folder setting with pyhon module
Hi All. I want to set team folder using python module. Team folder creation is complete However, I do not know the setting method below in the setting of the team folder Who can manage access to this folder? Default : "Anyone in your Dropbox Business account with edit permissions" Change to "Only owners" Allow links to be…
-
How to add data-app-key in App.accessRule of meteor application for android
I am developing web app and cordova app (android) together in meteor, I have included different scripts in it but cordova app is not recognizing scripts and gives different script missing error. After search I find out that by adding script in mobile-config.js by App.accessRule will work, and it worked for me. I am using…
-
files/search results seem to be too inclusive
My application uses files/search (with mode=filename) to find specific marker files with our dropbox structure in order to identify the correct folder to work with. These marker files have unique names eg ".a00000XXXXXXXXXXXXXXX.sfdb". (Those are Dropbox for Salesforce folder markers). Yesterday and for the past 6 months…
-
.NET SDK 4.3.0 does not build for Windows Phone
Hi. I have a Windows Phone 8.1 app. After updating to the latest Dropbox SDK, the build now fails at the deploy stage where it is generating the MDIL. The CrossGen seems to be failing. I have tried cleaning and deleting the obj and bin folders with no success. The relevant lines from the MDILXapCompileLog.txt are pasted…
-
Question about list_folder method
1. Is it possible to limit the number of item return from the list_folder method ? For instance there are 300 item in a folder, but we only want to return the first 100 item, can we passing a limit value to the parameter so it will only return 100 item at a time ? 2. Also, it it possible to filter out which kind/type of…
-
Showing Blank white screen
We have integrated dropbox SDK API v2 in our app.We are getting a blank screen,no login screen found when App runs on iPad.Our App runs fine on iPhone and the login screen appears.May you help us on this issue this seems to be a bug in your SDK,because the login screen is getting rendered from your server. May we get some…
-
System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS
I'm attempting a test file upload using... using (var client = new DropboxClient("MY_GENERATED_ACCESS_TOKEN")) using (var stream = new MemoryStream(Encoding.UTF8.GetBytes("some text"))) { var updated = await client.Files.UploadAsync( path: $"/Backup-{DateTime.Now.ToString("yyyy-MM-dd-HH.mm.ss.fff")}.json", mode:…
-
Why are the ids different?
Im trying to use a shared folder link from a user to determine which folder they want us to upload a file into. Why are the ids different for the same folders when I get folder metadata from the GetSharedLinkMetadataAsync method and the id that i get from the ListFolderAsync method? I'm sure its the same folder. Is there…