G
G
Grizar2020-03-12 23:40:40
SSH
Grizar, 2020-03-12 23:40:40

Error 550, how to delete files from the server?

I USED filezilla and WinSCP

on the server at the root there are public_shtml , public_html and others
folders I created the /my-eror folder , initially it was the public_html folder , I renamed it to my-eror and created a new public_html and uploaded new files and

renamed the folder because in The folder contains files (2).htaccess, .htaccess - I wanted to update them, but they were somehow "cloned" and now I can't delete them, rename them, archive them - I can't do anything with them.

here are the errors

i try to delete the folder i get

Получение списка каталогов...
Статус:	Список каталогов "/" извлечен
Статус:	Получение списка каталогов "/my-eror"...
Статус:	Подсчет разницы между часовыми поясами...
Статус:	Список каталогов "/my-eror" извлечен
Статус:	Удаление 2 файлов из "/my-eror"
Команда:	DELE (2).htaccess
Ответ:	550 Delete operation failed.
Команда:	DELE .htaccess
Ответ:	550 Delete operation failed.
Команда:	CWD /
Ответ:	250 Directory successfully changed.
Команда:	PWD
Ответ:	257 "/"
Команда:	RMD my-eror
Ответ:	550 Remove directory operation failed.
Статус:	Получение списка каталогов "/"...
Статус:	Список каталогов "/" извлечен


trying to change folder permissions
Получение списка каталогов "/my-eror"...
Статус:	Список каталогов "/my-eror" извлечен
Статус:	Установка разрешений '/my-eror' на '700'
Статус:	Установка разрешений '/my-eror' на '700'

but having opened again attributes of the right have not changed.

I transfer the folder to the computer, the folder was transferred but the files in it are empty 0kb, on the server they are 150kb each
Начинаю скачивать /my-eror/.htaccess
Статус:	Начинаю скачивать /my-eror/(2).htaccess
Статус:	Получение списка каталогов "/my-eror"...
Команда:	PORT 192,168,1,144,206,19
Ответ:	200 PORT command successful. Consider using PASV.
Команда:	RETR (2).htaccess
Ответ:	550 Failed to open file.
Ошибка:	Критическая ошибка при передаче файлов
Команда:	PORT 192,168,1,144,206,18
Ответ:	200 PORT command successful. Consider using PASV.
Команда:	RETR .htaccess
Ответ:	550 Failed to open file.
Ошибка:	Критическая ошибка при передаче файлов
Статус:	Список каталогов "/my-eror" извлечен


I'm trying to delete the attached files
Команда:	DELE (2).htaccess
Ответ:	550 Delete operation failed.
Статус:	Удаление "/my-eror/.htaccess"
Команда:	DELE .htaccess
Ответ:	550 Delete operation failed.


trying to rename
Статус:	Переименование '/my-eror/(2).htaccess' в '/my-eror/(2).htaccess.txt'
Команда:	RNFR (2).htaccess
Ответ:	550 RNFR command failed.


I want to change rights
Статус:	Установка разрешений '/my-eror/.htaccess' на '744'
Команда:	SITE CHMOD 744 .htaccess
Ответ:	550 SITE CHMOD command failed.
Статус:	Получение списка каталогов "/my-eror"...
Статус:	Список каталогов "/my-eror" извлечен


WHAT TO DO - HOW TO DELETE.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Foxcloud Foxcloud, 2020-03-13
@FoxCloud

Hello!
*Question #1 - how to delete.*
In order to delete the directories you described do:
1. SSH into the server as root - use the Putty program.
2. Open Midnight Commander with a Shell command:
mc
3. If there is no mc command, install it. For Centos:
yum install mc -y
4. Open Midnigh commander, find and delete the desired directory by pressing F8.
*Question number 2 - how to make it work.*
You can describe your project in more detail and they will be able to guide you to a solution.
Probably deleting the directory will not solve the main problem that you are facing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question