Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket pipelines deploy to ftpS server

BradsBitBucket August 10, 2018

Does anyone know how to deploy to an ftpS server?

 

I am currently running into issues connecting with git-ftp

 

- apt-get -qq install git-ftp

- git ftp push --user $sftp_username --passwd $sftp_password ftps://website/

I have ruled out almost everything I can think of, so looking for someone who has been able to connect. This is a windows server (2012). 

 

Thanks in andvance

2 answers

0 votes
BradsBitBucket August 17, 2018

Hi Philip, 

Thanks for the help. I did get this working:

==================

- apt-get update

- apt-get -qq install git-ftp

- git ftp push --insecure --ftp-ssl --ftp-ssl-reqd --ftp-pasv --disable-epsv -vv -u $sftp_username -p $sftp_password ftpes://10.0.0.1/pipelinetest/

==================

It seems using the FTPES establishes the connection.  I was using the CLI and Filezilla and connecting fine, but the pipeline was failing until I added the above disabling EPSV and setting PASSIVE. Our server has "require Secure connection", and we set port 21, so I kept getting stuck on the port and firewall, but it was the protocol.

Thanks!

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2018

Hi,

Can you please add in some of the error messages you're seeing? We can look in more detail afterwards. :)

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events