Copies the content of one file to another or downloads a file from the specified URL. Both HTTP and FTP protocols are supported. If you copy to a file that doesn't exist, then the robot will create a new file automatically.
This activity can also copy folders.
Copy from the file
Set a value: enables you to directly write the file path or the download link. For example,
Save the previous step result: chooses the previous activity result as a path or a link.
Calculate a value: enables you to use available properties and methods to form a path or a link.
Set a value: enables you to directly write the destination (including the file name and extension) where to copy or download the file. For example,
Save the previous step result: chooses the previous activity result as a path.
Calculate a value: enables you to use available properties and methods to form a path.
Replace existing file
If this parameter is enabled and the target directory already has a file with the same name as the file you are copying, then the bot will automatically replace it. If the option is disabled, the new file won't replace the existing name and will save it with an incremental number at the end of its name.
Contains an annotation to the activity. The input text will be displayed above the activity name.
This activity may be your choice if you need to keep some content of a file but then make some manipulations with the content, save it and then compare. In this case, you will need to copy the content to a new file, read the new file, process the content, overwrite the new file, and then compare both files.