Page 1 of 1

mdelete is not working with passive on

Posted: 2022-12-07 08:50
by chensr
it is not working when i using mdelete to delete *.txt, and the server log as "550 Couldn't open the file or directory"

ftp> mput aa.txt bb.txt
local: aa.txt remote: aa.txt
229 Entering Extended Passive Mode (|||21162|)
150 Starting data transfer.
0 0.00 KiB/s
226 Operation successful
local: bb.txt remote: bb.txt
229 Entering Extended Passive Mode (|||21176|)
150 About to start data transfer.
0 0.00 KiB/s
226 Operation successful
ftp>
ftp> mdelete *.txt
Couldn't open the file or directory
ftp>

Re: mdelete is not working with passive on

Posted: 2022-12-07 08:54
by botg
What does it say in the server log?

Re: mdelete is not working with passive on

Posted: 2022-12-08 02:13
by chensr
the server log just display "550 Couldn't open the file or directory" when i commit ftp> mdelete *.txt。

2022-12-08T02:11:29.227Z << 229 Entering Extended Passive Mode (|||11397|)
2022-12-08T02:11:29.634Z >> NLST *.txt
2022-12-08T02:11:29.634Z << 550 Couldn't open the file or directory


it was working when i commit ftp> mdelete aa.txt bb.txt, but i need to use *.txt

Re: mdelete is not working with passive on

Posted: 2022-12-08 03:09
by boco
FileZilla Server does not support Wildcard characters (* or ?), as they are not (and never were) a feature of FTP. Wildcard handling must be done entirely by the client.