FTP上传、下载实现,FTP级联创建目录实现
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user