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~
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?
Joined: Feb 25, 2013
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.
Joined: Mar 22, 2005
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.