Re: Get images or binary files from web form

new topic     » goto parent     » topic index » view thread      » older message » newer message

Sorry, I was too quick. When displaying the real length of the received file the error appears:

    nBytes = getenv("CONTENT_LENGTH") 
    query = get_bytes(0, to_number(nBytes)) 
    printf(1, "%s: %d\n", {"%d bytes received", length(query)} ) 

%d bytes received: 482 
AUTH_TYPE: Undefined 
CONTENT_TYPE: multipart/form-data; boundary=----WebKitFormBoundary8MhqlWPqRLSpCl9f 
CONTENT_LENGTH: 1159310 

allow_break(0) doesn't change anything to the result.

Jean-Marc

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu