ftp_connect
Connect to an FTP server using host, username, and password. Establishes a session for file operations like upload, download, list, and delete.
Instructions
Connect to an FTP server. If not called, will attempt to use FTP_HOST, FTP_USER, FTP_PASSWORD environment variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | FTP server hostname or IP address | |
| port | No | FTP server port (default: 21) | |
| user | Yes | FTP username | |
| secure | No | Use FTPS (FTP over TLS) | |
| password | Yes | FTP password |