Deploy a local directory
ftp_deployUpload a local directory recursively to a remote FTP/FTPS/SFTP server with configurable include/exclude globs and dry-run mode.
Instructions
Recursively upload a local directory to the server over a single connection, applying default and custom exclude globs (and optional include globs). Supports dry_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Name of the configured server. Defaults to the configured default, or the sole server. | |
| dry_run | No | If true, list what would be uploaded without connecting. | |
| exclude | No | Extra glob patterns to exclude, added to the built-in defaults. | |
| include | No | Glob patterns; when given, a file must match at least one to be uploaded. | |
| local_dir | Yes | Local directory to deploy (relative paths resolve against the process cwd). | |
| remote_dir | No | Destination remote directory, relative to the server root. Defaults to the root. |