Upload a local file
ftp_uploadUpload a local file to an FTP/FTPS/SFTP server, automatically creating parent directories if needed. Remote path defaults to the file name in the server root.
Instructions
Upload one local file to the server, auto-creating parent directories. Remote path defaults to the file basename at the root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Name of the configured server. Defaults to the configured default, or the sole server. | |
| local_path | Yes | Local file path (relative paths resolve against the process cwd). | |
| remote_path | No | Destination remote path, relative to the server root. Defaults to the local basename at the root. |