我正在尝试通过 FTP 删除远程服务器上名称包含空格的目录。我尝试转义空格,引用目录名称和通配符(a la mdelete),但这些都不起作用:
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
SS7 Stack Overloading
226 Transfer complete
64 bytes received in 0.03 seconds (2.05 Kbytes/s)
ftp> rmdir SS7*
550 SS7*: No such file or directory
ftp> rmdir "SS7 Stack Overloading"
550 SS7 Stack Overloading: No such file or directory
ftp> rmdir 'SS7 Stack Overloading'
550 'SS7: No such file or directory