examples.ftp
Class ServerToServerFTP
java.lang.Object
examples.ftp.ServerToServerFTP
public final class ServerToServerFTP
- extends java.lang.Object
This is an example program demonstrating how to use the FTPClient class.
This program arranges a server to server file transfer that transfers
a file from host1 to host2. Keep in mind, this program might only work
if host2 is the same as the host you run it on (for security reasons,
some ftp servers only allow PORT commands to be issued with a host
argument equal to the client host).
Usage: ftp
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerToServerFTP
public ServerToServerFTP()
main
public static final void main(java.lang.String[] args)
Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.