/**
* 同步文件到smb服务器,一共四台samba服务器
* @param files 同步的文件列表
* @param ctx
*/
public static void _fileSync(String[] files,String SmbUrl){
try{
SmbFile remote = new SmbFile(SmbUrl);
for (int i = 0; i < files.length; i++) {
File file = new File(files[i]);
String filePath = file.getAbsolutePath();
//System.out.println(filePath);
// 同步到文件服务器
System.out.println(Constants.REALPATH);
String smbFilePath = filePath.substring(Constants.REALPATH.length()+1);
//System.out.println(smbFilePath);
String smbFolderPath = smbFilePath.substring(0, smbFilePath.lastIndexOf(File.separator));
//System.out.println(smbFolderPath);
//System.out.println(smbFolderPath.replace('\\', '/'));
SmbFile remoteFolder = new SmbFile