GithubHelp home page GithubHelp logo

Comments (2)

0312birdzhang avatar 0312birdzhang commented on August 19, 2024

用这种方式不行吗?
其中fs_idgroup1/M00/00/4F/CggCLlqQy5KEcHehAAAAAIMEQIs083.zip

    public static boolean deleteFile(String fs_id) throws MyException {
		if (isEmpty(fs_id)) {
			throw new MyException("删除文件fs_id不能为空!");
		}
		StorageClient1 client1 = new StorageClient1();
		try {
			int code = client1.delete_file1(fs_id);
			if (code == 0) {
				log.info("delete file success : " + fs_id);
				return true;
			}
			log.info("delete file fail : " + fs_id + " error code : " + code);
		} catch (IOException e) {
			log.error(e.getMessage(),e);
		} catch (MyException e) {
			log.error(e.getMessage(),e);
		}
		throw new MyException("删除文件失败........");
	}
	

是不是你的remote_filename参数有问题

from fastdfs-client-java.

rui8832 avatar rui8832 commented on August 19, 2024

吐血推荐使用服务端负载均衡和高可用方案

from fastdfs-client-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.