FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

FTPError: 550 ~partytown: No such file or directory

Open m1chale opened this issue 1 year ago • 5 comments

Bug Description Im not able to deploy my website code built with GatsbyJS. I always get the error 550 with folder ~partytown. Im not sure, maybe its because of the ~ ?

Thanks for your help!

My Action Config

     - name: 📂 Sync files by FTPS
        uses: SamKirkland/[email protected]
        with:
          # dangerous-clean-slate: true
          server: ${{ secrets.DEPLOY_HOST }}
          username: ${{ secrets.DEPLOY_USER }}
          password: ${{ secrets.DEPLOY_PW }}
          protocol: ftps
          port: 21
          local-dir: "./public/"
          server-dir: "./test-me/"

My Action Log

...
----------------------------------------------------------------
Making changes to 337 files/folders to sync server state
Uploading: 40.2 MB -- Deleting: 0 B -- Replacing: 0 B
----------------------------------------------------------------
creating folder "_gatsby/"
creating folder "_gatsby/slices/"
creating folder "~partytown/"

----------------------------------------------------------------
--------------  🔥🔥🔥 an error occurred  🔥🔥🔥  --------------
----------------------------------------------------------------

----------------------------------------------------------------
----------------------  full error below  ----------------------
----------------------------------------------------------------

FTPError: 550 ~partytown: No such file or directory
    at FTPContext._onControlSocketData (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5252:39)
    at TLSSocket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5096:44)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:285:11)
    at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 550
}
Error: FTPError: 550 ~partytown: No such file or directory

m1chale avatar Oct 16 '23 18:10 m1chale

I doubt. I am getting one as well while uploading composer vendor files:

uploading "vendor/psr/http-message/docs/PSR7-Interfaces.md"
----------------------------------------------------------------
--------------  🔥🔥🔥 an error occurred  🔥🔥🔥  --------------
----------------------------------------------------------------
----------------------------------------------------------------
----------------------  full error below  ----------------------
----------------------------------------------------------------
FTPError: 553 Can't open that file: No such file or directory
    at FTPContext._onControlSocketData (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5252:39)
    at Socket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5096:44)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:285:11)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 553
}

I think it would be nice if it could skip files or folders of that nature.

im-machakata avatar Oct 26 '23 18:10 im-machakata

Same here. Does anyone know how to fix that?

FTPError: 550 The system cannot find the file specified.

adcoding avatar Nov 06 '23 16:11 adcoding

Same here. Does anyone know how to fix that?

FTPError: 550 The system cannot find the file specified.

Are you using it on a JS or PHP app? I made a few changes to the deployment configurations for my PHP app and it worked.

im-machakata avatar Nov 06 '23 16:11 im-machakata

Same here. Does anyone know how to fix that? FTPError: 550 The system cannot find the file specified.

Are you using it on a JS or PHP app? I made a few changes to the deployment configurations for my PHP app and it worked.

Actually now it works. I didn't configure local-dir and server-dir correctly

adcoding avatar Nov 06 '23 16:11 adcoding

When I deleted a directory on my local machine and then pushed changes to GitHub, it would throw the same error.

MysticKnight avatar Feb 06 '24 13:02 MysticKnight