FTP
FTP integration to download or upload files to a remote FTP server. Please note that FTP transfer is insecure. Please use it with care.
Utilities · FTP
Details
| ID | FTP |
|---|---|
| Provider | Open Source |
| Category | Utilities |
| From Version | 6.0.0 |
| Docker Image | demisto/python3:3.12.8.3296088 |
| Supported Modules | Agentix XSIAM |
README
FTP integration to download or upload files to a remote FTP server. Please note that FTP transfer is insecure. Please use it with care.
Configure FTP in Cortex
| Parameter | Required |
|---|---|
| Host | True |
| Port | False |
| Username | False |
| Password | False |
| Use system proxy settings | False |
Commands
You can execute these commands from the CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.
ftp-ls
List all the files under the current folder.
Base Command
ftp-ls
Input
| Argument Name | Description | Required |
|---|---|---|
| path | The path to list. | Optional |
Context Output
There is no context output for this command.
ftp-put
Upload file to FTP server.
Base Command
ftp-put
Input
| Argument Name | Description | Required |
|---|---|---|
| entry_id | The Entry ID of the file to upload. | Required |
| target | The target FTP server to upload the file to. | Required |
Context Output
There is no context output for this command.
ftp-get
Download file from FTP server.
Base Command
ftp-get
Input
| Argument Name | Description | Required |
|---|---|---|
| file_path | The path to the file to download from the FTP server. | Required |
| file_name | The file name to download from the FTP server. | Required |
Context Output
There is no context output for this command.
Configuration parameters
host— Host (required)port— Portcredentials— Usernameproxy— Use system proxy settings
Commands (3)
-
ftp-getDownload file from FTP server.
-
ftp-lsList all the files under the current folder.
-
ftp-putUpload file to FTP server.
category: Utilities provider: Open Source commonfields: id: FTP version: -1 configuration: - display: 'Host' name: host required: true section: Connect type: 0 - display: 'Port' name: port defaultvalue: "21" required: false section: Connect type: 0 - display: Username name: credentials type: 9 required: false - advanced: true display: Use system proxy settings name: proxy required: false section: Connect type: 8 description: 'FTP integration to download or upload files to a remote FTP server. Please note that FTP transfer is insecure. Please use it with care.' display: FTP name: FTP script: commands: - arguments: - description: The path to list. name: path description: List all the files under the current folder. name: ftp-ls - arguments: - name: entry_id required: true description: The Entry ID of the file to upload. - name: target required: true description: The target FTP server to upload the file to. description: Upload file to FTP server. name: ftp-put - arguments: - name: file_path required: true description: The path to the file to download from the FTP server. - name: file_name required: true description: The file name to download from the FTP server. description: Download file from FTP server. name: ftp-get dockerimage: demisto/python3:3.12.8.3296088 runonce: false script: '' subtype: python3 type: python fromversion: 6.0.0 tests: - No tests (auto formatted)