First, get the latest mIRC from mIRC.com.
I know the following script works for 6.1, can't be sure about anything else
but pretty convinced it would work for any later version.
Anyway, Paste the following code EXACTLY as it is
in the Alt+r window in mIRC (mIRC scripts editor, Remote tab):
On *:GETFAIL:*: {
btrunc $filename $iif($calc($file($filename).size - 102400 ) > 0, $ifmatch, 0)
}
In "Connect" -> "Options" click on "Perform" ->
in "All networks" (select from top list), paste:
/ctcps on
/raw on
/events on
Notice that 102400 = 100K so if you want to trunc less / more from the file
you can adjust it accordingly, though I wouldn't recommend truncing less
seeing as 8 KB is the mIRC default and its far from sufficient...
and what's 100K for the 2 GB file you're resuming, anyway ?
maybe even 200 would be better, maybe more o_O
obviously - the more you trunc the lower chance for corruptions
but also more time and bandwidth are wasted for redownloading data
Your choice, I work with 100 and it seems to work well for me
thgguh I don't download that much
GL
(updated - 25/11/03)