Creates FTP connection and executes some of valid ftp-based operations against the server:
ftp-list, ftp-get, ftp-put, ftp-del,
ftp-mkdir, ftp-rmdir.
<ftp server="server" port="port" username="username" password="password"
account="account" remotedir="remotedir">
[<ftp-list path="path" listfiles="listfiles" listdirs="listdirs"
listlinks="listlinks" listfilter="listfilter"/>]*
[<ftp-get path="path"/>]*
[<ftp-put path="path" charset="charset">
content to save
</ftp-put>]*
[<ftp-del path="path"/>]*
[<ftp-mkdir path="path"/>]*
[<ftp-rmdir path="path"/>]*
</ftp>
| Name | Required | Default | Description |
|---|---|---|---|
| server | yes | FTP server address. | |
| port | no | 21 | FTP server port. |
| username | yes | FTP server username. | |
| password | yes | FTP server password. | |
| account | no | FTP server account name. | |
| remotedir | no | Working remote directory on FTP server. | |
| path | yes | Path of the file/directory to be accessed/added/removed. | |
| listfiles | no | yes | Tells whether to include files in the list. |
| listdirs | no | yes | Tells whether to include directories in the list. |
| listlinks | no | yes | Tells whether to include links in the list. |
| listfilter | no |
Filter used for listing files. May include * and ?, i.e. my*.ex?
|