Comments
-
Yes... 🙂
-
Something more: don't try change 'expireAt'. Your code will fail!!! There are ways to optimize your code but you need to keep entire credentials object and serialize and deserialize it. Don't change anything by hands there.
-
It's related to access token only! Refresh token doesn't expire. 😉
-
Bad "news" - your folder is out of your home. 😕 You need to use team features. First make sure you have selected yourself in the client object using asMember. Next select proper root (your team folder) using withPathRoot. Next you can list it using empty string (the folder appears to be the root, not a subfloder there).…
-
@"novotny" wrote:... ListFolderResult result = client.files().listFolder(""); And see the folders in my own home directory. However, my partner shared a folder with me that I wish to see the files in but I don't see it listed. ... Hi @"novotny", You have pointed your account's home only, as a member, in the account (the…
-
Hi @"1575475", Most probably you are looking for rather something like 'client_modified' 😉 (not 'server_modified'). If not set explicitly, the times are the same ('client_modified' is assumed to be like 'server_modified'). On upload a file, you can set 'client_modified' to equals to your 'SAP internal server clock'. Later…
-
@"maxior1234", Only you know how exactly your application works (or how it's supposed to, at least). That's why I can't comment what's the best. Again without clearance why you get you cursor lost, you are speculating here and force others to speculate too! For sure you need to clarify the reason and after that the…
-
No, no... Definitely not. Cursor doesn't expire. Just check why you have it lost (if you lost it, why you have doubts it expires 🧐)! Only this will let you fix the issue and avoid further "incidents". 😉 You may have some weaknesses in your application algorithm. Check this too.
-
Hi @"maxior1234", As far as you are correctly describing what you want, it's a cursor actually. As I mentioned cursor describe current enumeration state, nothing else. If the added files (past the last cursor) are not too much, you can add them to your sheet by hand and use the /2/files/list_folder/get_latest_cursor call…
-
Thanks @"Greg-DB", It's still strange - something that's not supposed to be possible (nesting shared folder) is essentially possible. In such a case should be possible undone it in the same (or similar, at least) reverse way, but there's not such way! Could be considered on system root level (not only API). By the way…
-
@"maxior1234" wrote:... If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is contained in the url. ... Hi @"maxior1234", No, 🙂 You don't understand correctly. Such cursors, received from wherever (including from /2/files/list_folder/get_latest_cursor), target to…
-
Hi @"Rabee Shurafa ", Yes, you can either realizing REST-style calls according API documentation or some third party SDK (Dropbox does not support PHP by self). Hope this helps.
-
Hi @"Ragindev", Did you try continue listing using 2/files/list_folder/continue? 🤔 If not, give it a try. 😉 Hope this helps.
-
Wow... that's going be something really strange. According to your last post you should be able add (invite) a member. 🤔🤷 I can't say something more. You can try repeat execution of the failing request and catch the response header block. There should be a header 'x-dropbox-request-id'. Post this header's value and let's…
-
@"1575475" wrote: ... (Output of list team folders, just to check that the folder id is correct)What I don't understand here is that the "team shared" flag is set to false. In ABAP space=false and "X"=true. ... There is not exactly "IS_TEAM_SHARED", so most probably your are referring to "is_team_shared_dropbox" (which…
-
@"permissions" wrote:Thanks for the reply. I'm not seeing the option when I choose the 'Share' button. ... Hmm... i.e. you can't see "Who can access" As a result of the button push??? 🤷 If so, I can't say anything more. Add: Another place where you can try the same is your shared folders list. Find your folder (philip &…
-
Hi @"permissions", You always can remove yourself from any shared folder (with or without ownership). 😉 Make a note that this is not the case if you are talking for a subfolder of shared folder! Participation to a shared folder can be managed for the entire shared folder not to its subparts. Just push "Share" button.…
-
Hi @"1575475", The action, you are trying, seems not granted to you (your access token) for some reason. The translation "berechtigt"->"authorized" is not fairly correct. 😁 Once you get receiving this error message you application seems completely "authorized", otherwise you would not be able get to here. 😉 Possible…
-
While you are sticking to the same account - Yes (by Dropbox promises). You didn't changed account on upgrade and wouldn't to change it on downgrade - the bonus points should keep the same (they can be seen here). Take in mind that the same bonus earning leads to different earned space on different accounts plan, so 25GB…
-
@"Omri1984" wrote:... by the way. if create a new DropboxTeamClient(request.AccessToken, request.RefreshToken,request.Expires,ClientId,ClientSecret); can I call those methods var account = await client.AsMember(request.AsMember).Users.GetCurrentAccountAsync(); ... Hi @"Omri1984", Overall idea is correct (only…
-
@"himalayantrekkers10" wrote:hi i want to know how to create direct download link for ab website file hosted in dropbox Hi @"himalayantrekkers10", At the beginning can you clarify what's not clear in Greg's post above? There are directions you can use. In addition you don't need to check if a link exists or not (in such a…
-
OMG! Yes, such things don't have to be shared (can be dangerous - direct access to your account on the wider public)! That what you are sharing looks like access token. It's NOT application key. The application key is ID of the application you have registered. You need this key, not the access token. The last error comes…
-
Oh @"sambapy", Be more careful!!! What's this: this is long-gibberish ??? 🤦 Seems you have NOT made even a small try to get familiar with structure of such code and just trying to "shot on directions". Take the real client id (or app key too) and put it there. Follow the same rule on all other places where you have to put…
-
For an example using Python, take a look here. You can keep the refresh token and use for follow up instantiation without full OAuth flow. Just put file listing procedure on the place of 'users_get_current_account' method there. 😉 Hope this helps.
-
@"sambapy" wrote:Do I need some special permissions to ... If you mean scopes, Yes (but they are not special 🙂). Every operation falls to some group that expect particular scope. Your application (and all associated tokens) needs granted appropriate set of scopes to be able perform needed operations. Scopes can be changed…
-
If you mean, what's needed to authenticate a regular call to API endpoint, Yes - valid access token is enough. As I said access token validity is limited in time to no more than 4 hours (could be less) - exact period is denoted on access token receiving. If you mean, additional steps for long term access, refreshing is…
-
@"sambapy" wrote:... When I login to Dropbox through the website, the folder structure for the folder that I want to access looks like so: Folder/ SubFolder/ SubSubFolder. ... Hi @"sambapy", Base on names posted by you (i.e. starting from your account root - Folder > SubFolder > SubSubFolder), the string describing the…
-
Hi @"Jay G.4", That was exactly what I said. Probably you misinterpret the target of word "unusual". Unfortunately, such problems appearing is something usual. 🤦 Unusual is they to get solved by application development team! Problems like this (and not only) stay for years and left unsolved (without any intention to) or…
-
Hi again @"mukesh111", You can download a folder as zip file. You can use the zip stream using files_download_zip and unzip the content on fly or save it as file using files_download_zip_to_file. 😉 Good luck.
-
Hi @"mukesh111", Take a look on Greg's post on this page top. There is pretty clear where 'team_space_namespace_id' comes from. Try reproduce something similar. 😉 One more thing, at present access token is 'short lived' only. If you need long term access, refresh token may be object of consideration from your side. Hope…