upload
The upload
module allows you to upload a file to the target server.
Arguments
src
: a string that contains the path to the file to be uploaded.dst
: a string that contains the path to the destination file on the target server.
Usage Example
local task = {
name = "Upload a file",
komandan.modules.upload({
src = "/path/to/local/file",
dst = "/path/to/remote/file"
})
}
komandan.komando(host, task)