Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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: 19359

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?
I agree. Here's the link:
subject: use RMI and FTPserver