FTP Delete non empty directory

前端 未结 6 1747
走了就别回头了
走了就别回头了 2020-12-08 06:44

I am connected to a Unix server and I am trying to, via FTP, delete the directory dir with several files in it. If I use

ftp> delete dir/*
         


        
6条回答
  •  孤城傲影
    2020-12-08 07:17

    I got it to work in two steps, on a server with restricted access, no SFTP, only FTP through commandline.

    Like this :

    mdelete folder_name/*
    rmdir folder_name
    

提交回复
热议问题