SamKirkland / FTP-Deploy-Action

Deploys a GitHub project to a FTP server using GitHub actions
MIT License
3.9k stars 375 forks source link

Issue while using ftps with port 21 and small file sizes #466

Closed koolkabin closed 2 months ago

koolkabin commented 5 months ago

Bug Description while making ftp file deploy to a server using ftps over port 21, its not working and throwing following error

FTPError: 451-Error during read from data connection 451-16 Kbytes used (0%) - authorized: 512000 Kb 451-Transfer aborted 451 0.184 seconds (measured here), 86.75 Kbytes per second at FTPContext._onControlSocketData (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.3.3/dist/index.js:5254:39) at TLSSocket. (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.3.3/dist/index.js:5095: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: 451 }

MadalitsoNyemba commented 2 months ago

@koolkabin, try to change the version and use uses: SamKirkland/FTP-Deploy-Action@v4.3.5

koolkabin commented 2 months ago

yeah i got that and it help me fix that...

thanks