We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
sanjeev_hansanur
4 years agoExplorer | Level 4
How do get server modified date and time for a file in java using dropbox sdk, wat are sdk methods
Actually we are implement Incremental Crawl or Change log Crawl algorithm in java using sdk.
we want know how to get the modified date and time for file .is there any sdk method for that or is...
Greg-DB
Dropbox Community Moderator
4 years agoWhen using the Dropbox API v2 Java SDK, you can get the server and client modified date/time for a file from FileMetadata.getServerModified() and FileMetadata.getClientModified(), respectively. You can get FileMetadata objects from various methods, such as from getMetadata or listFolder/listFolderContinue.
When uploading files you can set the client modified date/time using UploadBuilder.withClientModified. It's not possible to override the serverModified date/time though.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!