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 上传文件的主要内容,如果未能解决你的问题,请参考以下文章