[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: http_getContent*



Sam,

content-length is not an attribute of content-type. Content-length is a completely separate HTTP header field.

You could try something like this:

myString = http_header('content-length');

Though, I wonder why you'd ever want to do this??? The length of the data is passed to your program already, so why retrieve the header?

-SK



On 12/30/2015 4:29 AM, Saman Neinawaie wrote:
    Hi
    I have encountered a problem with procedures http_getContent*.
    Could you please have a look at my code?
    Thanks,
    Sam


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------