Perhaps you used a script? mIRC has a built in File Server, but it's quite crude. You can get help with it on
/help /fserve and access it through options at
ALT+O >
DCC >
Fserve.
However, please note, mIRC is
not specifically a file trading program.
Regards,