Class ServerToServerFTP
java.lang.Object
org.apache.commons.net.examples.ftp.ServerToServerFTP
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
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServerToServerFTP
public ServerToServerFTP()
-
-
Method Details
-
main
-