爱意满满的作品展示区。
fuckgfwfuckgfw

分享个传文件的 filelink.io

  •  
  •   fuckgfwfuckgfw · Jan 18, 2018 · 2705 views
    This topic created in 3037 days ago, the information mentioned may be changed or developed.

    Web:

    https://filelink.io

    curl:

    $ curl -H 'x-file-name: hello.png' --data-binary @hello.png https://filelink.io
    https://filelink.io/qxw5pj65gj07/hello.png
    

    curl helper

    $ echo 'filelink(){ if [ $# -eq 0 ];then echo "$ filelink /path/to/file";return 1;fi;if [ ! -f $1 ];then echo "$1 does not exists";return 1;fi;echo $(curl --progress-bar -H "x-file-name: $(basename $1)" --data-binary @$1 https://filelink.io); }' >> ~/.bashrc # OR .bash_profile on MacOS
    $ exec -l $SHELL
    
    $ filelink hello.zip
    ######################################################################## 100.0%
    https://filelink.io/rhdtvz1fis6p/hello.zip
    

    注:

    • 文件名可以是中文
    • 服务器在国外(几个朋友已经用了一段时间, 反应上传速度还不错, 下载有人说被 Q) 如有不爽多担待
    basstk
        1
    basstk  
       Jan 18, 2018
    感谢分享,虽然用不上
    livc
        2
    livc  
       Jan 18, 2018 via iPhone
    transfer.sh 也可以
    fuckgfwfuckgfw
        3
    fuckgfwfuckgfw  
    OP
       Jan 21, 2018 via Android
    @live transfer 对中文有 bug
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5992 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 379ms · UTC 02:07 · PVG 10:07 · LAX 19:07 · JFK 22:07
    ♥ Do have faith in what you're doing.