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
Trusted Contributor
Posts: 236
Registered: ‎07-28-2010
My Device: Not Specified
My Carrier: Software Developer

How to send a .zip file to server using http connection with the server url.

Hi All,

             I want to send  a .zip file to server using http connection to server , i am new to BB devlopment, can anyone plz help me in terms of code.

 

 

Thanks to All In Advance. 

Developer
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to send a .zip file to server using http connection with the server url.

good to see that you stayed fresh in the two and a half years you have been here on the forums. Smiley Happy

you upload a zip file like any other file, using POST and an outputstream.
feel free to search the forum for more details, the topic has been handled a few times before.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Trusted Contributor
Posts: 236
Registered: ‎07-28-2010
My Device: Not Specified
My Carrier: Software Developer

Re: How to send a .zip file to server using http connection with the server url.

I have Registered two and half years before , but im not on bb development , i am on Android Development, but for time being i need to do this in Blackberry.
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to send a .zip file to server using http connection with the server url.

"i am on Android Development, but for time being i need to do this in Blackberry"

 

I hope you enoy the challenge!