atlassian/ftp-deploy:0.3.5 copy only new or edited files

Shahidain March 28, 2021

please provide a sample command to copy only new or edited files

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2021

Hi @Shahidain

Thank you for your question!

According to the lftp docs, recommended way to use the parameter "--only-newer " or "-n":

script:
  - pipe: atlassian/ftp-deploy:0.3.6
    variables:
      USER: my-ftp-user
      PASSWORD: $FTP_PASSWORD
      SERVER: 127.0.0.1
      REMOTE_PATH: /tmp/my-remote-directory
      LOCAL_PATH: build
EXTRA_ARGS: --only-newer


Best regards,
Oleksand Kyrdan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events