FTP上传、下载实现,FTP级联创建目录实现

This commit is contained in:
2018-05-08 22:50:25 +08:00
parent d2122c2896
commit 495b1e4202
10 changed files with 288 additions and 86 deletions

View File

@@ -62,12 +62,10 @@ public class DeleteController {
return false;
} else {
if (filepath.isFile()){
deleteFile(resfile.getColfilepath(),resfile.getColfileid());
return true;
return deleteFile(resfile.getColfilepath(),resfile.getColfileid());
}
else{
deleteDirectory(resfile.getColfilepath());
return true;
return deleteDirectory(resfile.getColfilepath());
}