How to avoid downloading folders using Download from one drive

Hi @Kunal_Jain

You can get the name and check if it contains a extension or not. If it contains extension it is a file else a folder
driveitem1.Name

Or as mentioned above use for each with the file property set

cheers