At 22:25 2000/05/09 -0400, Dave Slotter wrote:
> Second question:
>
> What are the maximum number of bytes I can send
> via a POST operation? I have found that I can
> exceed 256 bytes with it, and as a result it is
> more useful to me than a GET operation. The
> problem is that I do not know what the
> reasonable limits are to expect reliable operation.
In a message titled "RE: Palm VII and the Internet Library??" (Mon, 20 Mar
2000 10:51:11 -0800) Joe Fitzpatrick said:
"To handle bigger files an app/pqa would probably
break things up into a series of transactions.
We've done this in experiments for large uploads.
INet lib seems to have a maximum 'post' data size
of about 7600 bytes. We did an experiment where
we uploaded 18K 'records'. We basically used INet
to 'post' to a web server script. The script
returned a unique 'target name'. We then 'posted'
data in 2K blocks to the server with the target name,
block number, and data as URL encoded arguments to
the post. The expected response to each post was
the bock # and a checksum.
This got around both the 7K limit and the occasional
failed 'posts' that seem to occur with the palm.net
proxy server. You could use a similar scheme in the
other direction to download larger files."
Hope this helps.
.../dave
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/