От: | valmond | http://blogs.technet.com/valmond/ | |
Дата: | 07.12.05 12:21 | ||
Оценка: | 64 (2) |
...
HttpContext.Current.Response.StatusCode=206
HttpContext.Current.Response.StatusDescription="Partial
Content"
HttpContext.Current.Response.AppendHeader("Content-Range",
"bytes " & StartPos &"-"& EndPos & "/" & FileSize)
...
HttpContext.Current.Response.WriteFile(FilePath, StartPos,
EndPos)
...