cschlosser / drone-ftps

Deploy to FTPS server from Drone CI build
https://hub.docker.com/r/cschlosser/drone-ftps/
Apache License 2.0
20 stars 16 forks source link

Option to delete files on the ftp destination that are not present in the source dir #24

Open tomlschmidt opened 2 years ago

tomlschmidt commented 2 years ago

Adding an option to delete files on the ftp destination that are not present in the source dir would be very helpful for my deployment process. That way files whose file names are unique on each build get deleted on the ftp destination and don't fill up the space over time.

Looking at the man page it seems like adding the "-e" respectively "--delete" option to the "mirror" command would allow this.