Re: Download file unfinished - WeOnlyDo Discussion board

Re: Download file unfinished (General questions)

by Ludo, Monday, November 10, 2008, 14:55 (5652 days ago) @ Ludo

it's not a error page because we must identify before.

In fact, I would like to download a file from the HTTPS site but the file does not fully received.

how can we know the file size and the progress download (wodHttpNotify Object -> progress but why ?)

I added a debug file before using the method get to download the file

First time
[code]
** Connecting to www.guichet.banque-france.org on port 443
** Requesting URL https://www.guichet.banque-france.org/EnvPublic/servlet/gfin.Download?indice=0
CONNECT www.guichet.banque-france.org:443 HTTP/1.1
Host: www.guichet.banque-france.org
Proxy-Connection: Keep-Alive
Content-Length: 0

HTTP/1.0 200 Connection established

** Done receiving response
** Requesting URL https://www.guichet.banque-france.org/EnvPublic/servlet/gfin.Download?indice=0
GET /EnvPublic/servlet/gfin.Download?indice=0 HTTP/1.0
Host: www.guichet.banque-france.org
Cookie: JSESSIONID=353D49CE73B79E001AD4932FC78EBDA0
Connection: Keep-Alive

HTTP/1.1 200 OK
Date: Mon, 10 Nov 2008 13:33:13 GMT
Server: Apache
Content-Disposition: inline; filename=FDM_COMPTE_RENDU_DEC.TXT;
Connection: close
Content-Type: application/zip

01FDMTR2008110719520802380210918SE
04FDMTR2008110719520802380210918SE 0000101502008110719320620081107173001000000000000000000000000000000 000000000
04FDMTR2008110719520802380210918SE 0000201502008110719320620081107173001000000000000000000000000000000 000000000
04FDMTR2008110719520802380210918SE 0000301502008110719320620081107173001000000000000000000000000000000 000000000


Complete thread: