View Single Post
Old 05-07-2008, 02:44 AM   #1
baran_khan
Thumbs Must Hurt
 
baran_khan's Avatar
 
Join Date: Apr 2008
Model: 9500
PIN: N/A
Carrier: Airtel
Posts: 110
Default HTTP Connection Send File larger than 2048 Bytes

Please Login to Remove!

Hi,

I am trying to send an image file to the PHP server from the device. The code work fine if the file size is less than 2048 bytes but if I try to send the file larger than that, It dont send back any response which otherwise is HTTP_OK.

Is there any way that we can allow the server to accept files larger than that...

Also, the same code is working fine if I send the file to my localhost php server. and also I am able to get the response if I mention the out.length lesser than 2048 on the remote server but in that case the file is not 100% transferred.

Thanks
__________________
Smart People ask for Help!!!
Offline   Reply With Quote