1) $urlget removes the Content-length header from the $urlget().reply value

2) as a result of 1) $urlget does not report the value of the Content length header via $urlget().size, this value is 0 and it does not create/populate the output filename (if a binvar is used as the output, the binvar is filled correctly, but content length still missing and size still 0)

//.remove test.mrc | alias urlgetfail if (content-length !isin $!urlget($1).reply) echo -ag no content length size: $!urlget($1).size state $!urlget($1).state content $!exists(test.mrc) $!lof(test.mrc) reply $!urlget($1).reply $(|) else echo -ag state $!urlget($1).state $(|) alias urlgetfail | noop $urlget(https://www.mirc.com/versions.txt,gfik,test.mrc,urlgetfail)


#mircscripting @ irc.swiftirc.net == the best mIRC help channel