linking12 / fastdfs-client

fastdfs-client with netty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fastdfs-client

fastdfs-client with netty

这是一个 fastdfs 项目的java实现的客户端。 协议参考已经实现的客户端 fastdfs-client-java

Usage:

        FastDfsClient fastDfsClient = new FastDfsClient();
        fastDfsClient.create();
        String filePath = "";
        File file = new File(path);
        byte[] bytes = FileUtils.readFileToByteArray(file);
        UploadFileResponse response = fastDfsClient.uploadFile(null, bytes, "txt");
        fastDfsClient.close();

About

fastdfs-client with netty

License:Apache License 2.0


Languages

Language:Java 100.0%