Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 26
Registered: ‎03-26-2010
My Device: 8520
My Carrier: 1

File Upload Query

Hi all,

I am able to upload file,but only file of small size.

What needs to be done ,so that a file of large size can be uploaded to server from a simulator.

 

Regards

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: File Upload Query

The usual way is to split the large file into smaller pieces and send in sequence.  You will need something on the Server end to reassemble the pieces.  So your current code, that transfers a small file, can be used for each of the chunks that need to be sent.

 

Does this make sense?

Contributor
Posts: 26
Registered: ‎03-26-2010
My Device: 8520
My Carrier: 1

Re: File Upload Query

Is this only way in which i can send large file.Actually even a file of 7KB is not uploading to server.

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: File Upload Query

I usually chunk files at 64 KB,  7 KB should not be a problem.