Not with mirc, but with ftp.exe. Create a file called
cmd.txt in your mirc folder, open it with notepad and put there the following (remember to omit my comments)
- [FTP host]
open ftp.cdrom.com
[user]
anonymous
[pass]
anony[/i]@mouse.com
[desired directory]
cd pub
ls
[leave the > there or 'quit' will appear in your output file]
quit >
Now type this command:
- /run -n command.com /c ftp -v -s:cmd.txt|find /v ">">out.txt
(you may want to use cmd.exe instead of command.com depending on your OS)
After it's done running, you'll have an
out.txt file in your mirc folder, containing the ftp directory listing.
Related links:
Using FTP through mIRC without socketsExtended /runAnd don't forget
ftp -? and
find /? in the DOS command prompt.