FTP and directory deletion

Filezilla permanently removes the nested directory structure from my site. Why should it change to each subdirectory and delete files, and not just delete the entire main directory at a time? Does a file only remove a supported command in FTP RFC and should recursive directory deletion be implemented by the client?

+6
directory ftp filezilla
source share
3 answers

FTP RFC (or Extensions for FTP RFC) does not specify a command to recursively delete a directory. You only have the DELE command, defined in Section 4.1.3, to delete a file, and the way to delete the entire tree using FTP is to delete files and folders ( RMD ) recursively , one after the other.

+8
source share

Well, unfortunately, yes, according to RFC 959 and a more friendly list

+1
source share

I recently had this problem, but I used puTTY to remove nested directories.

  • connect using your FTP username / password
  • after connecting use rm -rf dir_name to delete the directory
0
source share

All Articles