资源简介


资源截图

代码片段和文件信息

package ftp;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.SocketAddress;
import java.util.StringTokenizer;

public class Client {

public Socket controlSocketdataSocket;
public boolean Passive=false;
public BufferedReader reader;
public BufferedWriter writer;
public PrintWriter out;
public FileInputStream is;
public BufferedInputStream upload;
public BufferedReader br;
public String host;
public int port = 21

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-05-31 07:43  javaftp-master\
     文件         413  2015-05-31 07:43  javaftp-master\README.md
     目录           0  2015-05-31 07:43  javaftp-master\client\
     目录           0  2015-05-31 07:43  javaftp-master\client\bin\
     目录           0  2015-05-31 07:43  javaftp-master\client\bin\ftp\
     文件        8637  2015-05-31 07:43  javaftp-master\client\bin\ftp\Client.class
     文件        1138  2015-05-31 07:43  javaftp-master\client\bin\ftp\Main.class
     目录           0  2015-05-31 07:43  javaftp-master\client\src\
     目录           0  2015-05-31 07:43  javaftp-master\client\src\ftp\
     文件        8073  2015-05-31 07:43  javaftp-master\client\src\ftp\Client.java
     文件         519  2015-05-31 07:43  javaftp-master\client\src\ftp\Main.java
     文件           5  2015-05-31 07:43  javaftp-master\client\src\ftp\bbbb
     文件          42  2015-05-31 07:43  javaftp-master\client\src\ftp\readme
     目录           0  2015-05-31 07:43  javaftp-master\server\
     目录           0  2015-05-31 07:43  javaftp-master\server\data\
     文件           0  2015-05-31 07:43  javaftp-master\server\data\1.pdf
     目录           0  2015-05-31 07:43  javaftp-master\server\src\
     文件        1555  2015-05-31 07:43  javaftp-master\server\src\Server.java
     文件       13309  2015-05-31 07:43  javaftp-master\server\src\ServerThread.java
     目录           0  2015-05-31 07:43  javaftp-master\server\src\data\
     文件           0  2015-05-31 07:43  javaftp-master\server\src\data\1.pdf
     文件          50  2015-05-31 07:43  javaftp-master\server\src\readme
     文件      832241  2015-05-31 07:43  javaftp-master\计算机网络_5120309607_贾冬雨ftp_report.pdf

评论

共有 条评论