User Tools

Site Tools


en:actions:actioncopyfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:actions:actioncopyfile [2020/02/09 13:26]
en:actions:actioncopyfile [2021/02/13 11:23] (current)
Line 1: Line 1:
 +====== Copy file ======
  
 +This action allows you to copy the data contained in a file to another.
 +
 +===== Standard parameters =====
 +==== Input parameters ====
 +== Source file ==
 +The source file to copy the data from.
 +== Destination file ==
 +The destination file to copy the data to. This file will be created by Actionaz, if the file already exists it will be overwritten.
 +===== Exceptions =====
 +
 +  * [[en:actions:exceptions#Bad parameter|Bad parameter]]
 +  * [[en:actions:exceptions#Code error|Code error]]
 +  * [[en:actions:exceptions#timeout|Timeout]]
 +  * [[en:actions:actioncopyfile#unable_to_read_file|Unable to read the file]]
 +  * [[en:actions:actioncopyfile#unable_to_write_to_the_file|Unable to write to the file]]
 +
 +==== Unable to read the file ====
 +<BOOKMARK:unable_to_read_file>
 +
 +This exception is thrown when the source file cannot be read.
 +  * Default action: stop the script execution
 +
 +==== Unable to write to the file ====
 +<BOOKMARK:unable_to_write_to_the_file>
 +
 +This exception is thrown when the destination file cannot be written.
 +  * Default action: stop the script execution