Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COWhen I first came to Stack Overflow, I was unable to comment, only answering was possible. You can comment on your own posts(the one at the top, or this one), though. Hopefully you can fix the trouble while staying with *MIMEMultipart.* I already got that code to do HTTP *POST* to Apache on my system from one of those virtual phones that came with Wireless Tool Kit. It would take me a while to analyze that other bit of code; someone there is claiming that with Apache, it's necessary to send multiple POSTS instead of one big POST with multiple parts. Might have to add those ideas.
      singulars
    2. CO1. Use the *MIME Multipart content* protocol with the loop; see `DataInputStream.read(buffer,offset, length)` to read 100k at a time. 2. In this case the max data length is set by memory constraints. If 500k is too much, keep it down around 100K. 3. Since this is from scratch, there are more things to consider, for instance; once sent, it needs to be verified that the data arrived intact(checksums, reply OK or FAIL from server, retransmission on error, etc). The receiver PHP script needs to be written. WebDav or FTP would be easier; but I don't know if there is a good implementation for MID.
      singulars
    3. COI am using Apache and yes I guess it requires multiple POST request instead of big one. But it is too slow to open and close connection so frequently from a mobile device. I thought if in MIME Multipart content protocol the chunk size were big enough like 100K then for 1Mb it would be considerable to use a for loop. What kidcandy did in receiver side is he kept all the image chunk data in a txt file sequentially and later created an image from those raw data and deleted that file on the server side. in contrary for one big multipart POST i received image just using $_FILE[] variable.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload