一个简单的java FTP客户端包,用法很简单,我在实验中。
JavaSimpleFtp
Code:
JavaSimpleFtp
Code:
import org.jibble.simpleftp.*;
...... try { // Connect to an FTP server on port 21. // Set binary mode. // Change to a new working directory on the FTP server. // Upload some files. // You can also upload from an InputStream, e.g. // Quit from the FTP server. |