add the data block

This commit is contained in:
Bill Currie 2007-03-21 11:23:11 +00:00 committed by Jeff Teunissen
parent b460656e69
commit aae9157f43

View file

@ -1,12 +1,14 @@
client has 'h' flag in "*cap" info string
format of svc_download message:
<size (short)> <percent (byte)> [url (string)] [newname (string)]
<size (short)> <percent (byte)> ([url (string)] [newname (string)] | [data])
size and percent are always present.
url is present only for http redirects.
data is present only when size is > 0 (ie, normal downloading)
newname is present for all http redirects (but may be the empty string) or if
the file to download has a different name to what what requested. This is so
the client saves the downloaded file with the correct name (in QF, this is