Здравко Legendary | Level 20

Comments

  • @"Greg-DB" wrote:... You may be interested in using the GetTemporaryUploadLinkAsync method, as long as you don't expose the actual access/refresh tokens for your account to other users. How will be such method in use without exposing any token? 🤔 Maui is designed and usable for local applications (no server side)!
  • @"Gcleanwood" wrote:... Would it be better to share a password secured folder? ... There is NO such thing like "password secured folder". Don't mess password protected shared link, it's different thing! You cannot upload something using such link; such way may be used if you need to inspect/download something already in…
  • @"Gcleanwood" wrote:... Can this be done without forcing them to enter the Dropbox credentials?... Hi @"Gcleanwood", There is always some way. You can always pre-generate credential information that becomes part of your application. Such a way targets server side applications and is strongly discouraged to be used in user…
  • Thanks Greg, it's working as expected already. 😉
  • Hi @"jaohar", Take in mind that, as noted in the article you are referring to, the limit mentioned is related to application performance and not to the account in any way! These are different things. If you want to calculate your folders size take a look into another thread here. If something doesn't work as expected…
  • @"invisiblehelmet" wrote:How do I calculate the size of multiple folders at once? ..., but when I select multiple folders, the "calculate size" option is no longer available. ... Hi @"invisiblehelmet", Hm...🤔 strange... I just tried and and it seems working: After click on "Calculate size" the size of all folder start…
  • Hi @"oloch", Dropbox has dropped that feature, available some time ago, and it's unavailable on recent application versions, unfortunately. You may install some older version if the dropped feature is important to you. Currently all files (including offline) are available through the Dropbox application only or after…
  • @"olavolsf" wrote:... Would someone be so kind to tell me what I am doing wrong? ... Hi @"olavolsf", And... 🤔 What are you doing actually? @"olavolsf" wrote:... It is (most probably) related with the Refresh Token (and consequently the AccessToken), because when I create in the APP the AccessToken and use it for testing in…
  • Hi @"3d_Schorsch", For more info about how you can initiate authorization process, you can take a look here (including how to prepare your authorize URL). There is no such things like token URL or profile URL. It's your responsibility to organize your users profiles. About the tokens, they are result of the authorization…
  • @"annapretorius" wrote:So do you think ALL my data is safely stored on dropbox although the sizes differ? Although??? 🧐 Are they really differ? If they differ, your data are NOT safely stored, of course. I don't think they differ though 🙂, despite of can't be certain (only you have a look and can check; if I have to bet,…
  • Hi @"Asharaf", There are corresponding methods for both actions. You can get link's metadata using GetSharedLinkMetadataAsync and download shared link's file using GetSharedLinkFileAsync (aside of the option downloading the file or entire folder directly with just change links ending "dl=0" to "dl=1"). Hope this helps.
  • @"Goldmine" wrote:I had integrated drop box in php and its file uploaded successfully, But there is issue of access token which available for short time. How to generate refresh token for it ... Hi @"Goldmine", All new access tokens are short lived (~4 hours typically). As you found out, refresh token can be used to…
  • Hi again @"annapretorius", Your scenarios is a bit more complex, cause it's matter of how the space is spread and result efficiency of used space in addition to measure conception differences - you are evaluating folder tree, not just a single file. If we self-restrict us to the conceptions only, it's easy to be seen -…
  • @"raiam" wrote:..., I am adding files in there, I see the webhook getting in, but I am not in a position to save cursors, so I am using `filesListFolderGetLatestCursor` (nodejs sdk), and it requires a path. ...😞 Hi @"raiam", You have to be in position to save cursors!!! Otherwise you can't track any change! If you just…
  • Hi @"raiam", Just list the content with empty path and follow whatever appear there. 😉 All entries have their paths set and theses paths are mandatory correct, so you can use them as they are (just copy/paste). Hope this helps.
  • @"clientreleases" wrote: ... * Fixed an issue that would cause the Dropbox dock icon to always be visible for some Mac users. ... Finally; as far as I know that was reported before more than 2 years (might be more). Why so much time to such a simple change? 🤦 Just instead of dynamic registration name (something like…
  • @"kostas99" wrote:..., when i am trying to do this it returns no result. ... Hi @"kostas99", There is always some result! 😉 It's either success or error description. It's another story if you just ignore the result when it's an error. Read it, there is some useful information that let you know what's wrong. By the way...…
  • @"CHBA" wrote:... Also yes, I do understand that 'This code is a middle step for producing some token' but I never come any further. ... Hmm...🤔 What's going wrong actually? Your issue description isn't very clear (to me at least). Post exact commands and results that passed together with the error you're receiving (to be…
  • @"CHBA" wrote:... "In a terminal window execute following curl command:" curl https://api.dropbox.com/oauth2/token -d code=<received code> -d grant_type=authorization_code -u <App key>:<App secret> I replace the 'received code', 'App key', and 'App secret' with my own. When fired off in Powershell, it throws this error…
  • Yes, that's what the refresh token purpose.
  • Hi @"CHBA", Yes, access token expires (all of them) . Whatever you have read, it's outdated. You need to refresh the access token using refresh token. Take a look here how this can be done without using SDK. Hope this helps.
  • Hi @"annapretorius", Haha...😀 Very fundamental question... and there are many different thoughts about. There are 2 main/basic different measure conceptions for multiplication. One of them is, like most others measure units - SI based, multiple by 10 (i.e. 1kB = 1000B, etc.); the other is using power of 2 conception and as…
  • Hi @"Toma3", Take a look on your account email here. Have you been checking the correct email? 🧐
  • @"Tshaniii", The error, you're receiving just reflect rules that all paths, pointing file/folder in any Dropbox account, should follow to and you have violated. In particular, all paths (except the root) must start with forward slash and no any trailing slashes (both for files and folders). It may be easier to use the…
  • @"shashank-cognitica" wrote:Does the refresh token expires when it is not used for long time? No, it doesn't expire; or at least until you revoke it through your application or user disables it using the account settings; or account is disabled/deleted.
  • Hi @"Tshaniii", The error, you received, means there is no such file as pointed by your dbx_path. Do you able see the pointed file when you list your account using the same token? 🧐 Take in mind that the account views in your web view or local Dropbox folder view can differ from what you see using API if the application…
  • Hi @"tszikszai", You can take a look here for a working example. It targets different task, but you can get the object in dbx variable using getClient method instead of initializing by your own. In such a way everything, regarding OAuth flow, is done and you can use the result. 😉 Of course you can change whatever needed.…
  • Hi @"ddixit", Would be really strange if the code you posted: @"ddixit" wrote:... while (list.HasMore) { list = dbx.Files.ListFolderContinueAsync(list.Cursor).Result; } foreach (var item in list.Entries.Where(i => i.IsFolder)) { folders.Add(new FolderNameModel { FolderName = item.Name }); } ... ... works correct and fixes…
  • @"Greg-DB" wrote:... If you want to embed a file from Dropbox on a third party site, you should use the functionality documented for the Dropbox Embedder here. Hmm...🤔 There are no any type of such features; the same like embedding raw link! The issue comes from dropping the anchor, coming from redirection. As mentioned in…
  • @"Tshaniii" wrote: ... const redirectUri = `https://dropbox.com/oauth2/authorize?response_type=code&client_id=${process.env.DBX_APP_KEY}&redirect_uri=http://localhost:3000/dashboard&token_access_type=legacy`;... error: { error: 'invalid_request', error_description: 'unknown field "token_access_type"' } ... Hi @"Tshaniii",…