Deploys a set of files to a remote FTP server.
Table 75. Attributes
Name | Type | Description | Default | Required |
---|---|---|---|---|
host |
String |
The hostname of the remote server. | none | Yes |
port |
Integer |
The port of the remote server. | 21 | No |
username |
String |
The username to use when logging in to the remote server. | none | Yes |
password |
String |
The password to use when logging in to the remote server | none | Yes |
dir |
String |
Directory on the remote server. | none | No |
mode |
String |
The transfer mode to use, either ascii or
binary .
|
binary | No |
clearfirst |
Boolean |
Delete all files in the remote directory before uploading | false |
No |
passive |
Boolean |
Open connection in passive mode | false |
No |
dirmode |
mixed |
Permissions of the uploaded files, can either be 'inherit' or it can be a octal value without the leading zero. Settings the dirmode to 'inherit' will cause the uploaded files to have the same permissions as on the filesystem. | false |
No |
filemode |
mixed |
This option does the same as dirmode, except it only affects regular files. | false |
No |
depends |
boolean |
If depends is set to true, the task will only update files with a local modification timestamp that is newer than the corresponding timestamp on the server. | false |
No |
level |
String |
Control the level at which the task reports status messages. One of
error , warning ,
info , verbose ,
debug .
|
verbose |
No |