File tempFile = mark(file, conf);
fileUrl = ftp.storeByExt(site.getUploadPath(), ext,
new FileInputStream(tempFile));
tempFile.delete();
} else {
fileUrl = ftp.storeByExt(site.getUploadPath(), ext,
file.getInputStream());
}
// 加上url前缀
fileUrl = ftpUrl + fileUrl;
}