FTP

Steps

connectTo

ParamDescription
toWhich host:port do you want to request?

login

ParamDescription
userUsername to use for login
passwordPassword to use for login

write

ParamDescription
test-fileFile to write
dataData to write

read

ParamDescription
test-fileFile to read
dataData to read

delete

ParamDescription
test-fileFile to delete

Example

name: ftp_basic_example
description: Test that google.com has a TLS certificate
scrapeInterval: 1m
scenario:
  kind: ftp
  steps:
    - type: connectTo
      params:
        to: ftp.dlptest.com:21
    - type: login
      params:
        user: dlpuser
        password: rNrKYTX9g7z3RgJRmxWuGHbeu
    - type: write
      params:
        data: "test"
        test-file: test-file.txt
    - type: read
      params:
        test-file: test-file.txt
        data: "test"
    - type: delete
      params:
        test-file: test-file.txt

Last modified March 1, 2022: add examples (b300a4d)