in reply to Re^2: Net::FTP wildcard delete?
in thread Net::FTP wildcard delete?
No, "The file list is expanded on the remote machine" does not imply "MDEL is an FTP command". The list is expanded remotely by issuing an NLST command (as shown below). MDEL is not an FTP command.
ftp> prompt Interactive mode off. ftp> debug <-- Don't need a packet sniffer Debugging on (debug=1). ftp> quote MDEL yoink* <-- remote MDEL ---> MDEL yoink* 500 MDEL yoink*: command not understood. ftp> mdel yoink* <-- local MDEL ---> EPSV ---> NLST yoink* <-- remote expantion ---> DELE yoink <-- individual deletes 250 DELE command successful. ---> DELE yoinks 250 DELE command successful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Net::FTP wildcard delete?
by dsheroh (Monsignor) on Jun 09, 2006 at 23:04 UTC |