How to get the last downloaded pdf file from the Folder
Hi, @Mani_Mani
in the path variable give the folder path this workflow will give you the latest downloaded pdf
Proc1.zip (11.1 KB)
hope it helps.
let me know if that solved your problem.
Directory.GetFiles(“YourFolderPath”,“*.PDF”).OrderByDescending(function(x) new FileInfo(x).LastWriteTime).FirstOrDefault
No!!! I need to get the finally downloaded pdf from the downloads and move that to C drive input folder and process it… Can you please help me to get the latest downloded pdf file in downloads?
the XAML what i gave you will give you the path of last downloaded PDF file, by using this as the input to the move file you can achieve your requirement.
Yes it works in all folders, but need to get the last downloaded file from the downloads. Its not working in downloads folder. Please help
Give the path of the download folder it will fetch the file based upon the last Creationtime/Modifiedtime
Proc1 (2).zip (11.5 KB)
check this i have updated the work flow but please give the input and output path
Thank you it works
Thank you… It works
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.