Git Product home page Git Product logo

Comments (3)

oott123 avatar oott123 commented on August 27, 2024

请附上相关的错误信息。

from bpcs_uploader.

siziki avatar siziki commented on August 27, 2024

~/bpcs_uploader$ ./bpcs_uploader.php download ~/tmp/ /Mp3/moonflow.mp3
===========================Baidu PCS Uploader===========================
usage : ./bpcs_uploader.php init|quickinit|quota
usage : ./bpcs_uploader.php upload|download [path_local] [path_remote]
usage : ./bpcs_uploader.php delete [path_remote]

usage : ./bpcs_uploader.php fetch [path_remote] [path_to_fetch]

wget --no-check-certificate -O "/home/siziki/tmp/ " "https://d.pcs.baidu.com/rest/2.0/pcs/file?method=download&access_token=XX&path=/apps/tian%0A%2Ftian%2FMp3%2Fmoonflow.mp3"
--2013-10-12 22:08:52-- https://d.pcs.baidu.com/rest/2.0/pcs/file?method=download&access_token=XXX&path=/apps/tian%0A%2Ftian%2FMp3%2Fmoonflow.mp3
Resolving d.pcs.baidu.com (d.pcs.baidu.com)... 123.125.65.66, 202.108.23.145
Connecting to d.pcs.baidu.com (d.pcs.baidu.com)|123.125.65.66|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2013-10-12 22:08:53 ERROR 400: Bad Request.

我替换掉了其中的access_token:

感觉是脚本上有点问题,文件的路径似乎不太对。

from bpcs_uploader.

oott123 avatar oott123 commented on August 27, 2024

此问题在issue #4 提到过。
请重新下载代码并重新初始化以解决该问题,或者如 #4 中提到的方法修改/config/appname文件。

from bpcs_uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.