[fpc-devel] fphttpclient cannot download a file from w3.org

wkitty42 at windstream.net wkitty42 at windstream.net
Mon Jul 1 15:08:28 CEST 2019


On 7/1/19 8:10 AM, Ondrej Pokorny wrote:
> Fails with exception:
> 
> EHTTPClient
> Error reading data from socket
> 
> #0 fpc_raiseexception(0x145fb14, 0x0, 0xffffffff) at ..\inc\except.inc:158
> #1 FILLBUFFER(0x145fb14) at fcl-web\src\base\fphttpclient.pp:731
> #2 READSTRING(0x15e1c30, 0x0) at fcl-web\src\base\fphttpclient.pp:749
> #3 READRESPONSEHEADERS(0x15e1c30) at fcl-web\src\base\fphttpclient.pp:854
> #4 READRESPONSE(0x15e1c30, 0x15b5dc0, 0x145fdb8, 0, false) at 
> fcl-web\src\base\fphttpclient.pp:1132
> #5 DONORMALREQUEST(0x15e1c30, {PROTOCOL = 0x15b5e4c 'http', USERNAME = 0x0, 
> PASSWORD = 0x0, HOST = 0x15b5ecc 'www.w3.org', PORT = 0, PATH = 0x1601c9c 
> '/TR/2002/REC-xmldsig-core'...,


this path doesn't look right... should it not be

   /TR/2002/REC-xmldsig-core-20020212

as specified in the URL you're after?

that's the only thing i see off the top...

-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*


More information about the fpc-devel mailing list