How to Get latest file from sharepoint

I need some urgent help of how to get the latest files from sharepoint .
I am using UiPathTeams.Sharepoint.Activities package.

Is there any way to find and download latest files from sharepoint on the basis of last updated date ?

Hi @aman.bb.gupta ,
the login part is just a simple sequence to enter the credential whenever the Windows Security popup window comes into view. I’m using SharePoint Foundation Server 2013.

However, for Sharepoint Online please take a look over the following custom activity https://marketplace.uipath.com/listings/sharepoint-custom-activities-package

It might help you
Best regards,
Shubham Dutta

Connection I am able to make through sharepoint application scope.

But my question is how to get latest file based on last modified date from sharepoint location ? Is there any activity or method to fetch the same details ?