gateway
Class ClientFTP
java.lang.Object
|
+--gateway.ClientFTP
- public class ClientFTP
- extends Object
The agents can use this class to establish a connection to the Gateway.
However, agents could establish a connection directly to the
ServerFTP.
- See Also:
ServerFTP
Method Summary |
static void |
main(String[] args)
Establishes a connection to the Server FTP and sends a file.
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ClientFTP
public ClientFTP()
main
public static void main(String[] args)
throws IOException
- Establishes a connection to the Server FTP and sends a file.
Usage: java gateway/ClientFTP
Ex: java gateway/ClientFTP localhost 3500