Drone plugins > FTP(S)
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
arrayoptionalFTP_PASSWORD and FTP_USERNAME.
Secret recommendedDefault: none
hostname
stringoptionalFTP host including port.
Default: none
clean_dir
booleanoptionalClean the directory before uploading.
Default: false
chmod
booleanoptionalif set to true chmod would be executed after file transferred, otherwise no chmod.
Default: true
verify
booleanoptionalif set to true the SSL certificate validation is enforced, otherwise no validation.
Default: true
secure
booleanoptionalif set to true FTPS is enforced, otherwise plain FTP is used.
Default: true
dest_dir
stringoptionalwhere to put the files on the remote server.
Default: /
src_dir
stringoptionalwhich local directory should be used for the upload.
Default: ./
exclude
stringoptionalegrep like pattern matching to exclude files from uploading.
Default: none
include
stringoptionalegrep like pattern matching to include files for uploading.
Default: none