码迷,mamicode.com
首页 > Web开发 > 详细

FastDFS 上传文件

时间:2016-10-09 17:00:02      阅读:294      评论:0      收藏:0      [点我收藏+]

标签:

[root@GW1 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
[root@GW1 client]#

FastDFS 上传文件

标签:

原文地址:http://www.cnblogs.com/myibm/p/5942752.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!