ftp_connect
Connect to a remote server via a named profile or environment variables, enabling subsequent FTP/SFTP operations.
Instructions
Establish or switch the active connection to a specific remote server profile defined in your .ftpconfig (e.g., 'production', 'staging'). This is the first step before performing any remote operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| useEnv | No | If true, bypasses .ftpconfig and connects using global environment variables (FTPMCP_HOST, etc.) | |
| profile | No | The named profile key from your .ftpconfig file. |