Thanks for your bug report. That is correct. If a connection fails, mIRC will return the error in the state and reply properties and will not save the html error reply to a file or a binvar.