This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

an app to upload the file to ftp server  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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~




 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Chen Jeff
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!