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

分享个传文件的 filelink.io

  •  
  •   fuckgfwfuckgfw · Jan 18, 2018 · 3086 views
    This topic created in 3218 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
    basstk
    Jan 18, 2018
    1
    感谢分享,虽然用不上
    livc
    livc
    Jan 18, 2018 via iPhone
    2
    transfer.sh 也可以
    fuckgfwfuckgfw
    fuckgfwfuckgfw
    OP
    Jan 21, 2018 via Android
    3
    @live transfer 对中文有 bug
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2973 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 10:21 · PVG 18:21 · LAX 02:21 · JFK 05:21
    ♥ Do have faith in what you're doing.