Comments
-
@"Engg" wrote:One machine will have only one file which may be more than 1 GB. ... If per machine is a single file only to upload, you don't need loop. Why at all are you calling multiple parallel uploads in such a case? File size doesn't matter when upload and finishing are separate. Upload itself is not limited as I said…
-
Hm..🤔 I thought I was clear, but it seems not enough. @"Engg" wrote:... List<Task> tasks = new List<Task>(); foreach (var item in dbLocalFilesPath.Select((value, i) => new { i, value })) { string dbLocalPath = item.value; int index = item.i; Logger.Instance.LogInfo($"dbLocalPath: {dbLocalPath}"); tasks.Add(Task.Run(async…
-
Hi @"Engg", It's better to trace the state for figuring out why your code falls to such an exception. To do it better, avoid indefinite recursions (your code can fall very easy in relatively deep recursion - something that's not a good practice). Whenever possible use iterations instead of recursions (in the particular…
-
Hi @"VijayKumar E", Supported Dropbox API deals with information available to the user only (no for internal use by Dropbox). In many cases different files and/or folders may have not path (either yet or removed). Such cases can be summarized as all entries (again files and/or folders) that are not mounted. For example if…
-
Ok, sorry, the words just lipped out. I just don't know how to say that such sources are unreliable and how many time to repeat that so it would reach to you. Even more you should be more critical and shouldn't accept such things so... naively believing in them, even when clearly visible they are incorrect. As I said,…
-
Would you like to learn or to proof... not very clear what? 🤔 Might be current ChatGPT stupidity... @"Ghost Mjrm" wrote:i have noticed to this before that there is no app secret in the authorization URL but in the next step in exchange authorization code for token my app secret IT HAS ALREADY BEEN USED ... And.. what? Is…
-
@"Ghost Mjrm" wrote:... im here to ask and learn not to proof myself Ok, then it's easy 😉, just learn and not try to put non-trusted knowledge (something against TOS of this forum by the way). In this context let see: @"Ghost Mjrm" wrote:* Redirect to Dropbox for Authorization: * Your app constructs an authorization URL…
-
Hm..🤔 Ok, how the user would know whether the access to their own data is correctly providing to selected code (your application) and not some fake or malicious code? 🧐 On other side, how Dropbox API would ensure the token is provided to correct user and not to some "men in middle"? PS: OMG...🤦 Is your brain dysfunctional?…
-
@"Carpetes", What you're asking for actually? 🧐 You know what's wrong (I can confirm it is definitely - simply visible). 🤦 Just fix it.
-
Yes, user can do it and the file will get to the account matching this email (whoever is the owner). The same like when you use the official Dropbox application. Where a file put in Dropbox folder goes? 🧐 To your Dropbox account or to account own by some of the application' developers (i.e. Dropbox staff)? 🤔😄
-
😁 In this case (following your words) when someone uses your application should sign in in the same account when pass on the OAuth 2 operation where will look for the file uploaded (no in other account, like you did). 😉
-
I think you should NOT mess the application ownership with the account one! They are different things in general (can coincide of course), but you assume they are the same thing always - something wrong. I'm pretty sure your account is different (my questions above are rhetoric). 😉
-
In other words, you're not sure - make it sure! 😉
-
No, 'offline' access type just adds refresh token to response, nothing else! Something that you're ignoring in your code completely so far. So that cannot be a reason. Are you sure you have uploaded to the same account? 🙃
-
@"Ghost Mjrm" wrote:... so where is the problem i cannot find it Ah..🙋 If that's fine for you, you can use it in such a way, of course. In such a case you can remove the "offline" declaration for the access type since you're not using it in fact. So big part of entire discussion seems meaningless - you don't need long term…
-
Hm..🤔 Are you still trying some sort of AI? 🧐 @"Ghost Mjrm", come on... 😁 I believe you have your own; use it! 😉
-
You make me speculate... Likely you have copied it into your account using "copy to Dropbox".
-
Hi @"fbx_dsb", 🙂No, the file is NOT one shared with you (or not directly to your account at least). That what you're talking about is shared link to a file - it's something different! Since it's NOT part of your account, it misses in your list (actually you don't have any files shared to you - again, rather your account;…
-
@"frankpxl" wrote:... Would I have to do something special to have my DB files in Kubuntu? ... Hi @"frankpxl", No you don't need to do anything special. Just install appropriate deb package version suitable for your Ubuntu version (depending is your version 22.04 or earlier, or you have more recent version). That's it.…
-
@"wzeller" wrote:... If you would have time to explain this, I say thank you in advance. Hm..🤔 To be honest I'm not sure what you ask me for actually. I explained it already and don't know what to add. Ok, will repeat in other words. Official Dropbox application is limited to handle only one account locally (or 2 linked…
-
@"wzeller", Good questions. I skipped them by mistake. At the beginning let mention that it's a good idea if you have any Dropbox extras (like online only files and backups) turned on to turn them off (for files make them offline) in advance! In such a way you will avoid some possible troubles (like "ghost" files 👹) while…
-
Hi @"wzeller", As far as I can follow your thoughts you have just one account (Basic) and want to have Plus account. 🤔 Am I correct? In such a case, you don't need second account, but just upgrade you current one. 😉 So you wouldn't need to switch between 2 accounts at all. @"wzeller" wrote:... - Do I have to uninstall the…
-
@"user44" wrote:... I understand raw HTTP usage is given here, but I am looking for using Java SDK. Hi @"user44", As seems, you don't understand that most "raw HTTP" related to Dropbox API have their equivalents in all SDKs (including Dropbox Java SDK). In the particular, equivalent call can be seen here. 😉 Also, you can…
-
Would be enough something like: this.fileClient = new Dropbox({ refreshToken: process.env.DROPBOX_REFRESH_TOKEN, clientId: process.env.DROPBOX_CLIENT_ID, clientSecret: process.env.DROPBOX_CLIENT_SECRET, selectUser: process.env.DROPBOX_USER,}); To avoid meaningless refresh (usually need no more than once for 4 hours) in…
-
Hi @"ojdev", Yes, the SDK would refresh (regenerate in fact) access token if/when you provide refresh token together with app key and likely needed app secret - something that's missing in your code. Take a look here how you can get it by hands and use in your code later. You don't need the last step there - it's…
-
As I already explained here, there is no more long lived access token and don't know how to say it more clear. Such token was supported some time ago, but it's no more. Probably by mistake on some places in documentation this type of token still exists, but it's a mistake... nothing more! There is no way to get new long…
-
Hm..🤔 To be honest I don't understand what you mean here, but if that doesn't work for you for some reason then using get_temporary_link wouldn't work too (the links are the same when direct link is selected in options). In both cases they expire in 4 hours (both are temporary). About the error you got, check that the…
-
@"FMRb" wrote:... 3. Selecting a file using Dropbox chooser 4. Obtaining a temporary link with API `get_temporary_link`, the body `path` for the API contains the file id coming from the Dropbox chooses response ... Hi @"FMRb", Why you need to make this call (get_temporary_link) in addition at all? 🤔 Selecting direct link…
-
😁 @"Adi4", Of course, your code will always executes regardless have you passed already OAuth or no!!! Be more careful - restructure your code better. You have one more error that will comes up once you fix current error. @"Здравко" wrote:... Access token is short lived only and expires in 4 hours or so. For long term…
-
Hm..🤔 Strange... There is a small chance some erroneous app instance to run already. There are known bugs. Try what is already running using something like: ps ax | grep dropbox If needed stop all running (possibly died) instances, try something like: killall dropbox ...or equivalent commands. Let's hope this will work.…