Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 579 Bytes

sftp_download_file_delete.md

File metadata and controls

25 lines (22 loc) · 579 Bytes

SftpDownloadFileDelete

Remove files downloaded via class 'SftpDownload' from SFTP server.

Parameters

Parameters Explanation Required Default Remarks
symbol Symbol defined against SftpDownload Yes None

Examples

scenario:
- step: sftp_download
  class: SftpDownload
  arguments:
    host: localhost
    user: root
    password: password
    src_dir: /root
    src_pattern: *\.tsv
    dest_dir: /tmp

- step: Delete the tsv file downloaded from localhost
  class: SftpDownloadFileDelete
  symbol: sftp_download