Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Upload image at any live ftp in android

0

50 views

Is it possible in android that i can upload any image from my application to the live server?

Like for example: we use FTP Client in desktop to upload any file/image to that live server.

So how can we do that through our application.

Hint: I captured an image from the camera in android and then i want to upload that onto my live server.

Please friends can anybody guide me through some code or some guidelines?

Thanks in advance!

asked June 24, 2011 1:58 am CDT
posted via StackOverflow

2 Answers

0
 

Please check below link may be helpful

Uploading images to a PHP server from Android

answered June 24, 2011 2:24 am CDT
1
 

Use this it is working fine for me...

SimpleFTP ftp = new SimpleFTP();


                // Connect to an FTP server on port 21.
                ftp.connect("server address", 21, "username", "pwd");

                // Set binary mode.
                ftp.bin();

                // Change to a new working directory on the FTP server.


                ftp.cwd("path");

                // Upload some files.
                ftp.stor(new File("your-file-path"));              

                // Quit from the FTP server.
                ftp.disconnect();

for more info and jar ...http://www.jibble.org/simpleftp/

answered June 24, 2011 3:16 pm CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
WP7 Image Upload
March 25, 2011