Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

an app to upload the file to ftp server

 
Chen Jeff
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~




 
Ulf Dittmer
Rancher
Posts: 42967
73
  • 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: 42967
73
  • 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