Skip to main content

Simple SFTP

This Integration is part of the Simple SFTP Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.2.0 and later.

sftp-listdir#


List Directories SFTP command given directory path. Defaults to current directory upon sftp login.

Base Command#

sftp-listdir

Input#

Argument NameDescriptionRequired
directoryThe directory from which to list the all directories. Default is ..Optional

Context Output#

There is no context output for this command.

sftp-copyfrom#


Copies contents of file specified from the sftp server and prints it to the war room

Base Command#

sftp-copyfrom

Input#

Argument NameDescriptionRequired
file_pathPlease provide file path as seen by the sftp user upon login.Required
return_fileDefaults to False where text based file content will be printed. Please specify as True to download the file in case of non-text based files. Possible values are: True, False. Default is False.Optional

Context Output#

There is no context output for this command.

sftp-upload-file#


Uploads a file from the War Room using it's Entry ID to the SFTP Server at a given path

Base Command#

sftp-upload-file

Input#

Argument NameDescriptionRequired
pathDestination path on SFTP Server to upload the file toRequired
file_entry_idWar-room Entry ID for the file to uploadRequired

Context Output#

There is no context output for this command.