U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Http file download question
Re: Http file download question [message #36529 is a reply to message #36528] Tue, 05 June 2012 09:01 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello

I have tried to follow Mirek instructions:

Request URL:http://myintranet/myfile.pdf
Request Method:GET
Status Code:304 Not Modified

Request Header
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:es-ES,es;q=0.8
Authorization:Negotiate TlRMTVNTUAADAAAAGAAYAGoAAAAYABgAggAAAAoACgBIAAAACgAKAFIAAAAOAA4AXAAAAAAAAACaAAAABYKIogUBKAoAAAAPTgBUAEIASQBPADIANAAzADMAMABCAFAAQwA4ADUAMQA5AIMiUdgjK1sgAAAAAAAAAAAAAAAAAAAAACl6K/jgsz1Xxi4Wp7mGrOE5hKlEekRitg==
Cache-Control:max-age=0
Connection:keep-alive
Cookie:UserType=P; idioma=es%2DES; ASPSESSIONIDQABDBSDD=DCILLDNCIFEHFLHEEILJJEAD
Host:myintranet
If-Modified-Since:Thu, 10 Nov 2011 14:49:40 GMT
If-None-Match:"3a5dcbf9b79fcc1:0"
Range:bytes=0-1048575
User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5

Response Headers
Accept-Ranges:bytes
Date:Tue, 05 Jun 2012 06:50:15 GMT
ETag:"3a5dcbf9b79fcc1:0"
Last-Modified:Thu, 10 Nov 2011 14:49:40 GMT
MS-Author-Via:MS-FP/4.0
MicrosoftOfficeWebServer:5.0_Pub
Server:Microsoft-IIS/7.0
X-Powered-By:ASP.NET


In addition I have found that when entering the address directly in the browser I get the file downloaded if I use Internet Explorer and Chrome. However if I use Firefox I get the same html page I get when using the U++ program.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Set thread priority for linux
Next Topic: [Solved]Can't show favicon.ico in Skylark if root path is not Null
Goto Forum:
  


Current Time: Sat May 16 00:05:27 GMT+2 2026

Total time taken to generate the page: 0.00999 seconds