This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes use RMI and FTPserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "use RMI and FTPserver" Watch "use RMI and FTPserver" New topic

use RMI and FTPserver

kien kun

Joined: Feb 15, 2012
Posts: 27
I want to manage file by FTPServer.
After I had uploaded ,I want to know what is success?
How do I?
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

I don't see anything relevant to Distributed Java in your question. What am I missing?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19865

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?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: use RMI and FTPserver
It's not a secret anymore!