Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Require option to NOT --delete-first

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

src ref: line 40


1 answer

1 accepted

1 vote
Answer accepted

Hi @RyeNCode ,
In a new version of ftp-deploy: 0.3.0 we added DELETE_FLAG variable to make --delete-first optional. To disable --delete-first flag you may write:

  - pipe: atlassian/ftp-deploy:0.3.0
      USER: my-ftp-user
      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.

Awesome, thank you for the quick turn around on this @Viktoriia Kozopas !

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

140 views 1 7
Read article

Community Events

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

Events near you