Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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 any alternative way to get the modified date and time?
When 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.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!