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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
MahanIII
Posts: 5
Registered: ‎07-16-2008

FTP from Blackberry Device within Java

Hi,

I am trying to upload an image file taken on the BlackBerry to an FTP server. I want to know if there is a way to accomplish this from with the RIM API. 

 

Any help is appreciated.

 

Thanks!

 

--

Mahan H.

Please use plain text.
Administrator
MSohm
Posts: 13,065
Registered: ‎07-09-2008
My Carrier: Bell

Re: FTP from Blackberry Device within Java

The BlackBerry API set does not have anything specific for FTP.  However, your application could create a pair of socket connections and communicate with an FTP server.  This would require you to implement the portion of FTP you wish to support (i.e. FTP commands, etc...).
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
rosskevin
Posts: 9
Registered: ‎07-16-2008

Re: FTP from Blackberry Device within Java

I can confirm this is possible, but not without your share of trial and error.  We have build FTP browsing applications for customers in the past and they have worked reasonably well. You will need to implement the code at the socket level, and if I recall, we experienced a fair amount of issues before finally reading and sending commands reliably.

 

If you are looking to outsource, feel free to contact us.

 

Best of luck

Kevin Ross | President | Metova
www.metova.com
Please use plain text.
New Developer
MahanIII
Posts: 5
Registered: ‎07-16-2008

Re: FTP from Blackberry Device within Java

Thank you much for your inputs. I guess we will have to implement it ourselves. We cannot outsource.

 

Thanks again.

Please use plain text.