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

ftp deploy to root dir does not work

Benny Franz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2024

When using / as REMOTE_PATH I am seeing this error:

 

lftp -u user,pw -e 'set ssl:verify-certificate false; mirror --delete-first -vvv -R /opt/atlassian/pipelines/agent/build/dist/ /;quit' server_name mirror: Access failed: 550 Directory Not Found (/)

Whats also confusing is that the deployment will be shown up as successfull even though the upload clearly failed!

1 answer

1 vote
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2024

HI @Benny Franz ,

Does the command work from your local machine?

With regards to not failing the build, it depends on the exit code of lftp. My guess is that it is returning 0 because of quit being successful, which was the last command.

Benny Franz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2024

Looks like it does work with . instead of / wich is very wired behaviour

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events