Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with deleting folder #453

Open
AndrzejW2016 opened this issue Apr 11, 2024 · 2 comments
Open

Problem with deleting folder #453

AndrzejW2016 opened this issue Apr 11, 2024 · 2 comments

Comments

@AndrzejW2016
Copy link

Problem with deleting the folder via FTP, maybe it's the "/" character at the end of the path, or at the end of the path because the logs are imprecise "Core/Business/CMS/".

removing "Core/Business/CMS/index.php"
removing folder "Core/Business/CMS/"


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


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

FTPError: 550 Can't remove directory: No such file or directory
at FTPContext._onControlSocketData (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.1.0/dist/index.js:3945:39)
at Socket. (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.1.0/dist/index.js:3786: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: 550
}
Error: FTPError: 550 Can't remove directory: No such file or directory

@MartijntenCaat
Copy link

image

I have the same issue. Is there some kind of work around?

@gmakwa22
Copy link

gmakwa22 commented May 3, 2024

This is how I fixed it - Turns out I had something in my gitignore file that was creating the conflict - Delete the files on your server and the gitignore data then push again. I must have accidently added something to the gitignore file this was happening on a few of my sites but its fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants