/**
* 删除文件
*
* @param filePath
* 文件路径(包含文件名)
*
* @return true or false
*/
public boolean deleteFile(String filePath) {
return HttpAction(METHOD_DELETE, formatPath(filePath)) != null;
}
删除其它文件成功后,再次访问是报404说明删除成功了。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生