my dog learned polymorphism*
The moose likes Android and the fly likes an app to upload the file to ftp server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "an app to upload the file to ftp server" Watch "an app to upload the file to ftp server" New topic
Author

an app to upload the file to ftp server

Chen Jeff
Greenhorn

Joined: Feb 25, 2013
Posts: 2
hi sir:

I just designed the apps which function is to upload the file to ftp server.
But it doesn't work.. I don't know where the problems is.I post the code in the following.
Who can help me figure out the problems and fix it.Thanks~




Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41040
    
  43
What does "it doesn't work" mean? What is or is not working according to your expectations? What have tried so far to debug the issue?


Ping & DNS - my free Android networking tools app
Chen Jeff
Greenhorn

Joined: Feb 25, 2013
Posts: 2
It means that couldn't upload the files,
and I don't know where the problem is.
I'm not sure about making mistake on upload code or file path
the button can work only...
thanks for your opinion.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41040
    
  43
So:
Ulf Dittmer wrote: What have tried so far to debug the issue?


Which of the code you wrote does or does not run? You can find out by putting lots of Log.i(...) statements in the code and observing the logcat output, or by running it in a debugger, or by putting up lots of Toasts.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: an app to upload the file to ftp server
 
Similar Threads
Android CustomListView getView() getting nullpointerexception
how to transfer images to ftp server in android
java code for speech to text
how to get progress bar after selecting a view
Date Dialog error message