FastDFS 上传文件

Posted cnblogs_2015

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FastDFS 上传文件相关的知识,希望对你有一定的参考价值。

[[email protected] client]# ./fdfs_test ../conf/client.conf upload /home/tmp/1009.png
This is FastDFS client test program v5.02

Copyright (C) 2008, Happy Fish / YuQing

FastDFS may be copied only under the terms of the GNU General
Public License V3, which may be found in the FastDFS source kit.
Please visit the FastDFS Home Page http://www.csource.org/
for more detail.

[2016-10-09 16:22:41] DEBUG - base_path=/home/yuqing/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0

tracker_query_storage_store_list_without_group:
server 1. group_name=, ip_addr=192.168.1.51, port=23000

group_name=group1, ip_addr=192.168.1.51, port=23000
storage_upload_by_filename
group_name=group1, remote_filename=M00/00/00/wKgBM1f5_lGAUL_8AAA87-5WT1Q450.png
source ip address: 192.168.1.51
file timestamp=2016-10-09 16:22:41
file size=15599
file crc32=3998633812
example file url: http://192.168.1.51/group1/M00/00/00/wKgBM1f5_lGAUL_8AAA87-5WT1Q450.png
storage_upload_slave_by_filename
group_name=group1, remote_filename=M00/00/00/wKgBM1f5_lGAUL_8AAA87-5WT1Q450_big.png
source ip address: 192.168.1.51
file timestamp=2016-10-09 16:22:41
file size=15599
file crc32=3998633812
example file url: http://192.168.1.51/group1/M00/00/00/wKgBM1f5_lGAUL_8AAA87-5WT1Q450_big.png
[[email protected] client]#

以上是关于FastDFS 上传文件的主要内容,如果未能解决你的问题,请参考以下文章

谁用过fastDFS上传文件,能不能分享点经验

初次用fastdfs,请教关于上传文件的问题

springboot项目结合fastdfs做文件上传

SpringBoot实现上传文件到fastDFS文件服务器

fastdfs档案伺服器,上传的档案存在哪

Docker 和 FastDFS 上传和下载文件