java实现ftp功能源代码:
import sun.net.ftp.*;
import sun.net.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.io.*;
public class ftpapplet extends applet
{
ftpclient aftp;
dataoutputstream outputs ;
te.netinputstream ins;
te.netoutputstream outs;
textarea lsarea;
label lblprompt;
button btnconn;
button btnclose;
textfield txtuid;
textfield txtpwd;
textfield txthost;
int ch;
public string a="没有连接主机";
string hostname="";
public void init () {
setbackground(color.white);
setlayout(new gridbaglayout());
gridbagconstraints gbc = new gridbagconstraints();
lblprompt = new label("没有连接主机");
lblprompt.setalignment(label.left);
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器