Skip to main content

FTP

This Integration is part of the FTP Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

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 on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for FTP.

  3. Click Add instance to create and configure a new integration instance.

    ParameterRequired
    HostTrue
    PortFalse
    UsernameFalse
    PasswordFalse
    Use system proxy settingsFalse
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR 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 NameDescriptionRequired
pathThe 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 NameDescriptionRequired
entry_idThe Entry ID of the file to upload.Required
targetThe 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 NameDescriptionRequired
file_pathThe path to the file to download from the FTP server.Required
file_nameThe file name to download from the FTP server.Required

Context Output#

There is no context output for this command.