Get the download file path details

browser
file
download

#1

Hi everyone,
I want to get path file when I just download. (file nearest)

Thank,
Henry!


#2

FilePath=Directory.GetFiles(FolderPath,"*.xlsx",SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0)

This will get the latest file in a specified folderPath


#3

Thank jothyprasanth.m!