J2ME: FTP connection--send image file to the server


   I am trying to have a FTP connection with the FTP server to transfer images from Motorola i870 phone using CLDC 1.1 and MIDP 2.0.
   I have MS 2003 server on the server side.

Is there anyway we can do it?? Any simple example/demo will be really appreicated.

Who is Participating?
Nope. The java.net package does not exist in the J2ME framework, so you cannot establish a direct FTP connection. You'll have to transfer the file by other means (eg socket + outputstream). The standard java.net package is way too large for the platform, so we have javax.microedition.io instead.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.