title: GitHub deployment of bigger file base with Actions and FTP Deploy
body: <p>I'm trying to setup automatic deployment from my GitHub Repo to a shared hosting provider.
  My GitHub action terminates with a timeout error after ~10 minutes and 30 seconds.</p>
  <p>I'm not sure if it is the hosting provider or GitHub causing the problem.</p>
  <p>I tested this config on small dummy projects and it worked without errors.
  The real project that I would like to deploy is a bedrock based WordPress website with a couple of plugins included, so there are over 10.000 files.</p>
  <p>I would be very thankful if someone has any hints, how to make this work.</p>
  <p>Here is the error from the GitHub actions console:</p>
  <pre><code>Error: Server sent FIN packet unexpectedly, closing connection.
      at Socket.&lt;anonymous&gt; (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.1.0/dist/index.js:3788:56)
      at Socket.emit (events.js:215:7)
      at endReadableNT (_stream_readable.js:1184:12)
      at processTicksAndRejections (internal/process/task_queues.js:80:21)
  Error: Error: Server sent FIN packet unexpectedly, closing connection.
  </code></pre>
  <p>Here is my config yaml file:</p>
  <pre class="lang-yaml prettyprint-override"><code>on:
    push:
      branches:
        - staging
  name:  Deploy on push to staging
  jobs:
    web-deploy:
      name:  Deploy
      runs-on: ubuntu-latest
      steps:
        - name:  Get latest code
          uses: actions/checkout@v2
  
        - name: Add HTTP basic auth credentials
          run: echo '${{ secrets.COMPOSER_AUTH_JSON }}' &gt; $GITHUB_WORKSPACE/auth.json
  
        - name:  Install composer dependecies
          uses: php-actions/composer@v6
          env:
            ACF_PRO_KEY: ${{ secrets.ACF_PRO }}
  
        - name:  Sync files to server
          uses: SamKirkland/FTP-Deploy-Action@4.1.0
          with:
            server: ${{ secrets.FTP_SERVER }}
            username: ${{ secrets.FTP_USERNAME }}
            password: ${{ secrets.FTP_PASSWORD }}
            server-dir: /staging/
  </code></pre>