Drone plugins > FTP(S)
ftps.svg

FTP(S)

by christophschlosser


The FTPS plugin can be used to publish artifacts over FTP(S).

Example

kind: pipeline
name: default

steps:
- name: deploy
  image: cschlosser/drone-ftps
  settings:
    hostname: example.com:21
    secrets: [ ftp_username, ftp_password ]

Properties

  • secrets

    arrayoptional

    FTP_PASSWORD and FTP_USERNAME.

    Secret recommended

    Default: none

  • hostname

    stringoptional

    FTP host including port.

    Default: none

  • clean_dir

    booleanoptional

    Clean the directory before uploading.

    Default: false

  • chmod

    booleanoptional

    if set to true chmod would be executed after file transferred, otherwise no chmod.

    Default: true

  • verify

    booleanoptional

    if set to true the SSL certificate validation is enforced, otherwise no validation.

    Default: true

  • secure

    booleanoptional

    if set to true FTPS is enforced, otherwise plain FTP is used.

    Default: true

  • dest_dir

    stringoptional

    where to put the files on the remote server.

    Default: /

  • src_dir

    stringoptional

    which local directory should be used for the upload.

    Default: ./

  • exclude

    stringoptional

    egrep like pattern matching to exclude files from uploading.

    Default: none

  • include

    stringoptional

    egrep like pattern matching to include files for uploading.

    Default: none