Comments
-
@"fangzefunny" wrote:... The large file cannot pass through the "post" operation, causing the problem of 413. ... Hi @"fangzefunny", For large files consider using upload sessions instead, not single upload. Every upload transaction is guaranteed to pass for no more than 150MB. In a session you can split the file content…
-
@"senthilnathan205" wrote:... I replace token key each 4hr Yes, exactly validity period (up border) for access token (as you named it "token key"). 🤷 Continue, if you like to be so. Otherwise, change you code to use refresh token too. That's it.
-
@"fangzefunny" wrote:... At the end of the experiment, the success message was always prompted. But the data was not always uploaded to my dropbox. ... ... var saveDropbox = function(content, filename){ dbx.filesUpload({ path: "/" + filename, contents: content }) }; ... ... Hi @"fangzefunny", In your 'saveDropbox'…
-
You can take a look on Dropbox API v2 documentation for available access points and their use in curl. For guide how you can use long term account access using API look on here. Add: You can't share anything when your restricted your application in an application specific folder. If you need to manage users sharing, you…
-
@"Conners" wrote:... what am I doing wrong? Hi @"Conners", The only wrong thing you are doing is following the outdated article. "long lived token" can't get issued anymore. Newly issued access tokens are always short lived. 🤷 That's it. If you want long term access you can consider refresh token usage. 😉 Hope this helps.…
-
@"Bob S.15" wrote:... I did change the flow to the new calls, but do I need to do something specifically to store this new short-lived token? ... You don't need to do anything special to store "this new short-lived token" (probably you mean the access token). You can continue using the same way or use any other. The main…
-
Hi @"Bob S.15", Some time ago long lived access token (the one your application relies on) was deprecated. Such tokens can still be used, if exist, but since recent can NOT more be issued. All new issued tokens are short lived (usually start with "sl.") with validity for 4 hours, at most. Most probably you haven't…
-
@"Tim Lempicki" wrote:... Any recommendations for tools to listen to these ports? Hi @"Tim Lempicki", There are lots of different tools to trace and evaluate particular connection of any kind. A typical example can be WireShark. Many tools availability is system dependent. If you have access to nc (or netcat), it's a very…
-
@"senthilnathan205" wrote:... var dpClinet = new Dropbox.Api.DropboxClient(TokenKey); ... Hi @"senthilnathan205", At the beginning, one error not directly related to the current issue, but will bring up soon, if let unfixed in advance. In your client initialization you are using access token only. This type of token is…
-
@"ketanapatel" wrote: ...How to keep alive access_token forever? Hi @"ketanapatel", Long lived access token is outdated and deprecated in Dropbox API. Generation of new long lived access token is already dropped, despite of an existing can still be used. So, if you have some already generated token, you can keep it…
-
@"Greg-DB" wrote:Files that aren't shared won't be explicitly listed as having sharing information or an owner. ... Yes, but this doesn't mean that listing shared members of particular file (even non shared) should fail! In such a case the owner will be the only listed user (or should be at least). Am I wrong? By the way I…
-
Hi @"jerry14", You cannot get such information within FileMetadata just because there is no such info within. 🙂 You correctly referred to SharedFileMembers (despite indirectly), where you can get desired info. Such a result you can receive from DbxUserSharingRequests.listFileMembers(java.lang.String file).…
-
@"Frank P E." wrote:... it seems that files are sent to the cloud only if the content change, and since changing the file timestamp the file was not upload with the new meta-data --- so is this how dropbox works? Thanks Hi @"Frank P E.", I 'll add "when content uploaded/created" to "only if the content change". In this…
-
@"FARO" wrote:... When I send a request, the code is only available for a first time, when I used in a future call, the code is invalid. ... Hi @"FARO", 🙂How long you expect a code to be used?! 🧐 Let's see. If you forget your credentials to some service and there is a option to receive a recovery code throughout a…
-
Hi @"phil-g3swh", I have no idea what you have done, but most probably there is a mistake. I'll try reproduce such a process. First let's get to some file 'A File': If you want to share this file, you can see: As can be seen you are not able to share with edit access. Ok, now let's create a wrapping folder 'A folder': ...…
-
@"Amicao", 🙂 Your questions are outside Dropbox API scope itself. As far as I can see you are confused by usage of your tools. CURL in PHP typically adds file content independent from headers and you can take a look on some tutorial for this. The command line version really by default catches files. Even in this case you…
-
Hi @"Amicao", I'm glad that my previous post helped you to some extent. About API changes: If you don't take in mind API state very log ago, API calls (most of them, including upload/download, you are interested in) are not changed or not significantly, at least. The only non back compatible change, recently released…
-
@"Amicao" wrote:... a file from user, upload it and later, get a access for this file and delete it if necessary. The problem is that upload the file and Dropbox change the file name to a own Dropbox hash system. ... Hi @"Amicao", It's good idea to you share some piece of your algorithm able to reproduce the issue.…
-
@"JavMirVal" wrote:..., I was able to upload files to my DropBox but the Token expires. Hi @"JavMirVal", If that's the only problem, explanation you can find here will lead you through the way, I believe. 😉 You will see how you can get to a refresh token and how you can refresh expiring access token. Your work left is to…
-
Hi @"PL89", Everybody able to access your phone can do whatever you can without password with all your resources there (including Dropbox). Because of this, important step is to protect your phone content generally. Of course, such a protection isn't very reliable, but is usually enough, since someone on the street that…
-
Hi @"phil-g3swh", Put the file you want to share in a folder (can create a new one, if need) and share the wrapping folder instead of the file itself. 😉 Hope this helps.
-
Hi @"makrand kulkarni", As can be seen on documentation (and on your screenshot) "Because /oauth2/authorize is a web site, there is no direct return value". What is a web site? 🧐 Ooo... it's HTML. 😉 Read more carefully.
-
Hi @"maxcastrovidal", Don't have any doubts - refresh token doesn't expire by itself. @"maxcastrovidal" wrote:... After the short-lived access token finishes his useful life (4 hours) i ran again the same Postman Call (with the same parameters) to get a new short-lived access token, but now the response is {…
-
Hi @"JavMirVal", If there is some issue with a third party tool, only the supplier can fix it. Ask there. Hope this gives direction.
-
@"LisaBB" wrote: ... I choose save to my Dropbox, but some links recently disappeared Hi @"LisaBB", Person that shared link to you can remove link shared before or can remove file/folder shared before (after some time span the link will be invalidated too). Despite of, since you have saved the content in your Dropbox…
-
Hi @"jacques_coney", Do you mean something like mentioned here? 🤔 Hope this helps.
-
@"johnpeach" wrote:... However, the Dropbox widget in my top menu still displays the status "Connecting..." ... Hi @"johnpeach", Dropbox widget realization seems not very stable and this is very old issue. Unfortunately, nobody from Dropbox' development takes care since Linux isn't first class citizen in Dropbox. There are…
-
Hi @"Amicao", You can get idea how it works here, I believe. 😉 Your work is the PHP "translation". Hope this helps.
-
Hi @"johnhesler", While you are talking for link access, it's possible. 😉 Link is something public and direct accessible. But you have done a mistake in your code. Take in mind that the same link can has different forms. The link you are using in your code is preview link (ends on '?dl=0'). So, it's NOT pointing to actual…
-
Hi @"MG2L", Your SDK can automatically refresh access token using the provided refresh token usually. About how to get a refresh token, take a look here for a possible way. 😉 Hope this helps.