• FastDFS 上传文件


    [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]#

  • 相关阅读:
    Redis生存时间、删除策略和排序
    Redis事务
    Redis基本类型与常用命令
    script标签块的独立性与共享性
    jQuery UI--jquery-autohide解读
    创建美化的上传文件按钮
    css3彩色进度条
    便签效果
    使用before、after伪类制作三角形
    css3实现进度条的模拟
  • 原文地址:https://www.cnblogs.com/myibm/p/5942752.html
Copyright © 2020-2023  润新知