Hi
I am new in RPA world
I need to download a folder, all sub folder and files in it.
I tryed with ftp activities (With FTP Session / Download File) but i only manage to download one file not a folder
Can you help me please?
Hi
I am new in RPA world
I need to download a folder, all sub folder and files in it.
I tryed with ftp activities (With FTP Session / Download File) but i only manage to download one file not a folder
Can you help me please?
In order to get all files from directory including sub folder data/files, you can use the below one.
Directory.EnumerateFiles(“YourDirectory”, “*”, SearchOption.AllDirectories)
Later you can loop through each file item to download it separately.
Thank you.
Thank you
It works with Enumerate Objects.
If Folder => Create folder
If File => Download
Have a nice day
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.