I have all kinds of strange behaviors with InternetHeaders: most of the time, some of the entries are not available in my application (at run time/download time).
When I check them using FireFox, these data are there.
I am starting to not have any more idea to know what really happens. *
Talk a bit about Content-Length
:
If My_Headers.Value("Content-Length") <> "" Then
L_Date.Text = "Content-Length:"
TextField9.Text = My_Headers.Value("Content-Length")
End If
That value is not displayed, but the server returns it when I call for the whole list of InternetHeaders
.
At download time, I report the InternetHeaders
in a GroupBox full of Labels and TextFields.
I also have a different window to decode the same InternetHeaders
.
In that project, I use some of these properties (the file name for example), and sometimes, that header does not exists (is blank). Ive made a specific test, and when I download - say 365 files - I get some of these and I do not know why.
Ideas ?
- I will try to make the report in a Listbox(automatically, using Count in a loop )