How to move all files from Source to Destination Folder in UiPath

0 votes
I want to move all the files from a source folder to a destination folder using UiPath, please tell me how can I do that?
Mar 8, 2019 in RPA by Pragati
5,370 views

1 answer to this question.

0 votes

Hi Pragati, in order to move files from a Source folder to a Destination folder, follow the below mentioned steps one by one:

1. Create a Sequence and create the variables NumberOfFiles and SourcePath. Now assign the default value of SourcePath to the Path of Source Directory.

2. Now add an Assign activity and assign the NumberOfFiles to directory.GetFiles(SourcePath). This will fetch all the files from the source path.

3. Then drag a For Each activity and write item & NumberOfFiles in "ForEach" & "in" textfields respectively. Also, go to the Properties of For Each activity and mention String in the Type Argument.

4. Finally in the Body section of ForEach activity, add Move File activity and mention the Destination Path in the Destination section of Properties of Move File activity. Also, in the properties tab, go to From section and set item as Path.

5. Now, just run the program and you will see that all your files are moved from Source to the Destination folder.

answered Mar 8, 2019 by Abha
• 28,140 points

Related Questions In RPA

0 votes
1 answer

How to move files from source to destination folder in Blueprism?

Try this approach. It creates a new ...READ MORE

answered Mar 20, 2020 in RPA by liana
3,172 views
0 votes
1 answer

How to extract specific type of files from a directory using UiPath?

Hey @Avani, if you want to extract ...READ MORE

answered Mar 14, 2019 in RPA by Anvi
• 14,150 points
9,498 views
0 votes
1 answer

How to scrape data using Get Text from UI Automation tools in UiPath?

Hi Roshni, scraping any text from a web page ...READ MORE

answered Mar 20, 2019 in RPA by Pratibha
• 3,690 points
2,058 views
0 votes
1 answer

Want to automate in Linux server to move the files whenever data is dump in source location to another server uisng UIpath

Check this out https://www.uipath.com/kb-articles/automating-t ...READ MORE

answered Aug 10, 2020 in RPA by Karan
• 19,610 points
906 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
1,312 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,110 points
2,395 views
0 votes
1 answer

Surface automation in rpa?

Surface automation is a visual automation that is done using ...READ MORE

answered Apr 20, 2018 in RPA by wrecker
• 3,110 points
1,522 views
0 votes
1 answer

How to move folders containing Json and Images files to another folder in uipath?

Hey Akshay, you can check this thread ...READ MORE

answered Jun 3, 2019 in RPA by Abha
• 28,140 points
1,948 views
0 votes
2 answers

Moving Files from one folder to another using UiPath

if you want to copy and move ...READ MORE

answered May 29, 2019 in RPA by Venkat
• 320 points
14,420 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP