以流的方式输出文件
??? OutputStream o = socket.getOutputStream();
File file=new File("/opt/froad/config/mgmt/file/20131105.zip");
??? ??? ??? ??? ??? ??? DataInputStream fis=new DataInputStream(new BufferedInputStream(new FileInputStream(file)));
??? ??? ??? ??? ??? ??? byte[] b =new byte[fis.available()];
??? ??? ??? ??? ??? ??? fis.read(b);
??? ??? ??? ??? ??? ??? o.write(b);
??? ??? ??? ??? ??? ??? o.flush();
??? ??? ??? ??? ??? ??? o.close();