Require flag or option to disable --delete-first from the mirror command sent to lftp.
master deploy is to root of web-dir
/ <-- here
test is to subdir
/test/ <-- here
master deploy, due to --delete-first clears the /test/ directory
I did not find an obvious solution at http://manpages.ubuntu.com/manpages/trusty/en/man1/lftp.1.html
src ref: https://bitbucket.org/atlassian/ftp-deploy/src/master/pipe/pipe.sh line 40
script: - pipe: atlassian/ftp-deploy:0.3.0 variables: USER: my-ftp-user PASSWORD: $FTP_PASSWORD SERVER: 127.0.0.1 REMOTE_PATH: /tmp/my-remote-directory LOCAL_PATH: /my-working-directory, DELETE_FLAG: 'false'
Please notice that the default value of DELETE_FLAG is true - to leave the previous logic for those who already use the pipe.
If you have any questions or suggestions - feel free to leave it, we are always grateful for the feedback.
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events