OK: When you request a file, the server will send some info to you, and then the file (if it exists).

Some thing like this, if the file you requested wasn't found.
HTTP/1.0 404 Not Found
Date: Thu, 17 Apr 2003 16:06:22 GMT
Server: Apache/2.0.40 (Red Hat Linux)
...
...


or this..

HTTP/1.0 200 OK
Date: Thu, 17 Apr 2003 15:57:00 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Last-Modified: Fri, 16 Aug 2002 20:21:15 GMT
ETag: "23c04b-16806-f6b8e4c0"
Accept-Ranges: bytes
[color:blue]Content-Length: 92166

Content-Type: application/zip
<blank line>
..binary file data
..binary file data
...
..
etc.[/color]

This, "Content-Length: 92166", is the info you want. In this example the file was 92166 bytes.

So to get it you need to "/sockread %var" and parse %var to find the info.
e.g. if Content-Length: * iswm %var { set %file.size $gettok(%var,2,32) }
When "%var == $null" is when the actual file will begin to download, at that time you switch to "/sockread &bvar".