Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 848
  • Last Modified:

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

Hi,

   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.

Thanks,
Praj
0
velosumdev
Asked:
velosumdev
1 Solution
 
bgloddeCommented:
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now