title: bitbucket pipeline deploy ftp
body: <p>I'm fairly new to deployment and pipelines, however today I managed to have them working on a simple test site.
  I'm now trying to replicate the same on a proper website but it fails during the init. I have many files to upload (~3000) as it's the first upload and I'm not sure if it's failing because of this or for some other reasons (the log doesn't say anything specific). Is there any more detailed log that gives more information about what's going on?</p>
  
  <p>Thank you</p>
  
  <p>here's my yml</p>
  
  <p>image: samueldebruyn/debian-git</p>
  
  <pre><code>pipelines:
      branches:
        master:
         - step:
            script:
              - apt-get update
              - apt-get -qq install git-ftp
              - git ftp init --user $FTPU --passwd $FTPP ftp_url
  </code></pre>
  
  <p>and this is the log. if always fail at the 43rd file</p>
  
  <pre><code>git ftp init --user $FTPU --passwd $FTPP ftp_url
  + git ftp init --user $FTPU --passwd $FTPP ftp_url
  There are 2914 files to sync:
  [1 of 2914] Buffered for upload URL
  [2 of 2914] ...
  
  ....
  [43 of 2914] Buffered for upload URL
  Uploading ...
  fatal: Could not upload files., exiting...
  </code></pre>
  
  <p>the log with -v</p>
  
  <pre><code>Thu May 18 13:24:27 UTC 2017: [43 of 2914] Buffered for upload url.
  Thu May 18 13:24:27 UTC 2017: Uploading ...
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (9) Failed to MKD dir: 550
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (9) Failed to MKD dir: 550
  curl: (25) Failed FTP upload: 553
  curl: (9) Failed to MKD dir: 550
  curl: (25) Failed FTP upload: 553
  curl: (9) Failed to MKD dir: 550
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  curl: (25) Failed FTP upload: 553
  Thu May 18 13:24:41 UTC 2017: fatal: Could not upload files., exiting...
  </code></pre>