Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

an app to upload the file to ftp server  RSS feed

 
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: 42972
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: 42972
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
Boost this thread!