BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 05-07-2008, 02:44 AM   #1 (permalink)
Thumbs Must Hurt
baran_khan's Avatar
Join Date: Apr 2008
Model: 9500
Carrier: Airtel
Posts: 110
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default HTTP Connection Send File larger than 2048 Bytes

Please Login to Remove!


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.

Smart People ask for Help!!!

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.