Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use RMI and FTPserver

 
kien kun
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to manage file by FTPServer.
After I had uploaded ,I want to know what is success?
How do I?
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see anything relevant to Distributed Java in your question. What am I missing?
 
Paul Clapham
Sheriff
Posts: 21152
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As for FTP, it has response codes which the server sends after it processes a command. Your code can look at these codes and see whether the command was successful, or why it wasn't.

However if you're using a package which does FTP for you, that package will do exactly that and then report back to your code which calls it. Perhaps it would throw an exception or something, at any rate it would be documented. You should be using a package which somebody else has already written, rather than trying to write your own.

And RMI has nothing to do with FTP, and vice versa, so what did you want to ask about RMI?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic