Service 端代码
public long upLoadFile(String content, String fileName) throws Exception {
// TODO Auto-generated method stub
File file = new File("e://", fileName);
RandomAccessFile raf = new RandomAccessFile(file, "rw");
raf.seek(file.length());// 先定位
String data = content;
byte[] bytes = Base64.decode(data);
raf.write(bytes);
raf.skipBytes(data.length());// 顺序写
raf.close();
long lengt