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
New Developer
MahanIII
Posts: 5
Registered: ‎07-16-2008
My Device: Not Specified

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.

BlackBerry Development Advisor
MSohm
Posts: 14,853
Registered: ‎07-09-2008
My Device: BlackBerry Passport

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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
rosskevin
Posts: 9
Registered: ‎07-16-2008
My Device: Not Specified

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
New Developer
MahanIII
Posts: 5
Registered: ‎07-16-2008
My Device: Not Specified

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.