Comments
-
@"Musa2" wrote:... I need a very simple solution like a function or a java example. ... Hi @"Musa2", Take a look here for a example. Hope this helps.
-
@"novaut" wrote:... I have generated credentials once as authorization_code and bearer_token but it expires. ... Yes, that exactly what I said!!! Seems you haven't read my posts before (my post before the last my post too). Read them with care! Code is for one time use - it can't be reused. PS: The code is NOT part of your…
-
@"rubbermeetsrd" wrote:... When I brought up the move_v2 api call, the template was set up as a raw body which worked. ... I don't know what you mean 'raw body', but your 'template' seems correct. It should work. Why are you NOT calling 'move_v2' in the same way? 🤷 Take a look on your OP. Is it the same or not exactly? 🙂
-
@"rubbermeetsrd" wrote:... I am getting the following error: 'responseError in call to API function "files/move:2": request body: could not decode input as JSON' var headers= { "Content-Type": "application/json", <<<<<< "Authorization": "Bearer "+ dropboxAccessToken, } var options = { method: 'POST', headers: headers,…
-
@"novaut" wrote:... it asks me to login with my Dropbox username and password. How can I do it with a request from my server? ... Hm... 🤔 Sometime ago was an option to generate long lived access token for long term access. Unfortunately, since long lived access token is retired already, no way to generate credentials for…
-
@"novaut" wrote:... I'm following the App Authentication example from https://www.dropbox.com/developers/reference/auth-types#app Why it doesn't work? I just want to use the API in a simple way. ... Hi @"novaut", Wow, wow, wow... 😁 I haven't seen this big fault of Dropbox documentation. You can call some API endpoints with…
-
Hi @"Anjani Kumar Pandey", No, refresh token doesn't expire automatically. 😉 Good luck.
-
Hi @"Greg-DB", I have a proposal that your team can consider about the issue discussed here. Alternative version of /2/files/upload_session/append_v2 can be added able to add a content to existing session that comes from URL (the same way like /2/files/save_url does; "path" may be replaced to "cursor"). In addition a…
-
@"gaganov" wrote:... They can try something like tus protocol. @"gaganov", No, they cannot. You are messing upload (what tus deals with) and download (what actually happens - Dropbox server downloads from provided link).
-
@"Greg-DB" wrote:... It looks like the issue here is that progress stalls for some reason, ... Yes, connectivity speed of 150mbps or so (middle for the 5 minutes) between Dropbox and a CDN like Akamai Technologies (one of the links above) is... 😁 no very impressive.
-
Hi @"tenzin", You can make your application simpler, if you just register a shared folder link in the application. After that you can enumerate the content and do whatever you want without any user login, etc. The user just has to provide a link to whatever becomes selected. 😉 Good luck.
-
Take a look here for start a session possible variant (or here if you prefer data upload). Here you can see finalization for multiple sessions.
-
@"SneYellow46" wrote:..., thanks for the advise but this approach isn't feasible for our scenario. ... 🤔🤷 Why? 🧐 @"SneYellow46" wrote:... I guess we need to handle this from our end with our own logic. What kind of logic is in use currently and is something prevent it to be used further? Every upload is performed on 2…
-
Hi @"SneYellow46", Key moment, when multiple uploads are performing simultaneous, is high probability different uploads to stuck on catching GIL (leading to issues). You can decrease such probability as make upload itself and attach file to the folder tree (only the attach actually needs GIL catch) in 2 different steps, so…
-
@"tritnguyen" wrote:... Develop the system to keep track all the folders and files for each member is time consuming, and I try to avoid that. ... I don't know such a bookkeeping way, but tree data structure processing typically consumes significantly less time that equivalent list processing (logarithmic vs linear load),…
-
@"tritnguyen" wrote:... I want to update my file list correctly; I want to remove f1.txt, f2.txt, and f3.txt from my list after I got ... Hi @"tritnguyen", What about if you re-organize you "file list" in a file/folder tree? 🤔 You can always get a list out from the tree (if needed) and are able handle all event recursively…
-
Hi again @"msmoe", As I have mentioned in referred thread, you need to do refresh every time you need to use access token and previous one already expired! Access token does always expire (no more long lived access token), as mentioned too, so don't ask why. You can't take it once, but whenever needed. You can calculate…
-
Hi @"petepete717", You are passing filename instead of path to that file! 😉 Hope this helps.
-
😈😈😈 !!!BUG!!! 😈😈😈 Would somebody out from development take a look on the issue signaled here? Hope on next stable release this issue to be past. 🙏
-
@"paradoxIn" wrote:... How to retrive all the folders recursively that is shared ... The share folders are not organized in a tree (or something like), so no recursion can be defined, it's rather linear list. @"paradoxIn" wrote:Hii, ..., how to get all the files shared with the user. ... To list shared files is other…
-
Hmm... 🤔 I don't know what more to say. Ok, let's take a look how the things happen on lower (API) level, when you need to do everything yourself. Take a look on this thread. Yes, the client object can do everything mentioned there for you, but it needs the same info (the one you would need)! What info is needed for…
-
@"Ivan_" wrote:... var client = new DropboxClient(Settings.Default.RefreshToken, ApiKey, config); I have performed authentication flow without PKCE. ... Nope, skipping application secret is only possible while PKCE is in use. @"Ivan_" wrote:... 1) What is that parameter for config object : "SimplePKCEOAuthApp"? Is that…
-
@"Ivan_" wrote:... Currently I transfer only access token and it works 🤓 Really?! If it works, what actually you are asking for?! 🧐😁 You cannot expect when object is initialized with just access token it be able refresh somehow. 🤷 How such thing can happen? Impossible of course - the refresh token is required, at least!…
-
Hi @"Ivan_", You don't have to perform any of the actions shown. Whenever such action has shown in some example, it's just to show how the refresh works (not that you have to use it)! Once you initialize/construct a client object using the credentials provided, the object itself will take care to refresh whenever needed. 😉…
-
What about, to open a terminal window, after that copy the command line, I posted above as is, next paste it into the terminal window and finally press Enter key? 🧐🙂 Is it working now?
-
Hi @"VictoriaAlger", Execute following command in a terminal: rm -rf ~/.dropbox Is the application now running normally after sign in? 😉 Hope this helps.
-
@"FesT" wrote:..., what I do not understand exactly is what for "undesirable attributes" are removed, ... Hm... 🤔🤷 To be honest I'm not sure what actually you are asking for. The attributes are undesirable because they break the syncing and that why they are removed! If these attributes are Ok for you, don't take a look on…
-
@"FesT" wrote:... Could you briefly explain what it does exactly? As I said already, main trick is recreation of every problematic file in the Dropbox namespace, so any undesirable attributes (assigned to the former file) get gone. This is the most brief variant. Within the script itself are many comments, describing what…
-
@"musidelics_0" wrote:..., but I can't seem to find a way to automatically generate new access tokens when the old one expires. ... You don't need to explicitly 'generate new access tokens'. The only thing you need is using refresh token on client object building and... that's it. 😉 You can continue use it as you are doing…
-
@"BrunoJ" wrote:... Hopeful this trend and your work will help the dropbox developers with fixing this issue? ... 🙂🤔 Hm.. Good wish, but better don't rely on. My experience shows - if the application doesn't stop completely and some part of the UI doesn't become too 'ugly', Dropbox development doesn't take care. 🤷 Linux is…