[android-developers] Re: How do i upload the file from android mobile to public server

2011-04-19 Thread snehalal gangadharam
Hi all, Thanks for all your reply, now i am able to uplaod file from android to public server by using http protocol, thank you very much thanks Regards Sneha On Apr 11, 5:22 pm, Kostya Vasilyev kmans...@gmail.com wrote: Yes, but there is also the passive / active mode thing to consider...

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-11 Thread snehalal gangadharam
Thanks for your reply,' I have found the problem, FTP is not working in my device, i have given ftp site and tested. i got you do not have permission to open this page, ftp://mirror.csclub.uwaterloo.ca/index.html:.. i have did some googling , i havent get successful solutions, what settings

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-11 Thread Nicholas Johnson
I don't think that the FTP ports are inherently disabled, so there's no need to try and enable it. I built a quick FTP client server for my phone and it works fine. Nick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-11 Thread Kostya Vasilyev
Yes, but there is also the passive / active mode thing to consider... Active mode requires a connection from the server to the client, which doesn't work through NATs and firewalls (although a smart proxy on the NAT/firewall can help). Passive mode should work. -- Kostya 11.04.2011 16:09,

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-08 Thread snehalal gangadharam
hi, y i didnt get any reply? i have tested this application from real device. i am getting IO Exception. i have posted the errror log below: kindly guide me to solve this problem. /kernel ( 115): [ 508.395324] device rmnet0 entered promiscuous mode W/System.err( 1281): java.io.IOException:

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-08 Thread Abhilash baddam
Hi, may be this link will be helpful to u.. http://androidsnips.blogspot.com/2011_03_01_archive.html On Fri, Apr 8, 2011 at 11:36 AM, snehalal gangadharam snehala...@gmail.comwrote: hi, y i didnt get any reply? i have tested this application from real device. i am getting IO

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-04-08 Thread Nicholas Johnson
It seems like your error is occurring at line 203 in the FtpURLConnection class. Find out what's at the line, and you'll be closer to solving your problem. W/System.err( 1281): at org.apache.harmony.luni.internal.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:203) --

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-03-31 Thread snehalal gangadharam
hi , i have debuged the code, i am getting IO Exception, 03-31 10:47:17.001: WARN/System.err(278): java.io.IOException: Unable to connect to server: null 03-31 10:47:17.061: WARN/System.err(278): at

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-03-30 Thread snehalal gangadharam
hi , i have debuged the code, input stream is null, unable to connect the server. the same code is woking fine in java . i have given network permissions too. uses-permission android:name=*android.permission.ACCESS_NETWORK_STATE*/ uses-permission uses-permission

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-25 Thread snehalal gangadharam
Thanks for your valuable reply, i have to develop speed test application in andorid. i have developed upload application in java , i can upload the file from java to public server, when i put that application to android , it is not working , i will attach the upload code and log. kinldy guid me

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-25 Thread karteek
The error message 03-25 10:33:36.821: WARN/System.err(301): java.io.IOException: Unable to connect to server: The operation timed out This indicates there should be some problem with server address Once check this address in any browser On Mar 25, 10:52 am, snehalal gangadharam

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-25 Thread Nicholas Johnson
I believe the first error that is causing your program to crash is located here: 03-25 10:33:36.980: ERROR/AndroidRuntime(301): java.lang.NullPointerException 03-25 10:33:36.980: ERROR/AndroidRuntime(301): at com.example.uplaod.MyUpload$1.upload(MyUpload.java:146) Check out line 146 in

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-24 Thread Nicholas Johnson
There are several FTP apps that can do just that. Astro file manager can create SFTP connections to upload files, or AndFTP... (there's a whole bunch if you search for FTP on the Android Market). If you're talking about uploading a file to a public server from an app you're developing, then