Downloading the PDF's

Hi All,

I want download the PDF’s from a folder .
the scenario is if a folder contains zero pdf I dont want to download,
if a folder contains one pdf I need to download,
if a folder contains two pdfs I need to download
the logic I need is the number of pdf files will differ each time so If a folder contains 4 pdf files I just need to download them and I dont want to download which is already downloaded.

Please do needful.

@Palaniyappan
@THIRU_NANI
@ushu
@ppr @Gokul001
@lakshman
@Yoichi
@geetishree.rao

first use directory.getfiles(folderpath)

output will ne array of filepaths and take for each
in forech there property called condition there give like array.count>0

inside body iterate the action