Comments (3)
请附上相关的错误信息。
from bpcs_uploader.
~/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.
此问题在issue #4 提到过。
请重新下载代码并重新初始化以解决该问题,或者如 #4 中提到的方法修改/config/appname文件。
from bpcs_uploader.
Related Issues (20)
- 上传文件是否可以批量上传文件夹和文件呢 HOT 2
- 上传失败。 HOT 1
- ERROR thrown at bpcs_uploader/_bpcs_files_/common.inc.php HOT 1
- #!/usr/local/php/bin/php -d disable_functions -d safe_mode=Off
- PCS API 好像已经停止申请了 HOT 3
- 授权的时候提示31024: app id is empty,这个是什么原因? HOT 1
- pcs api 已经不能申请了是吗 HOT 1
- API calling faild. HOT 3
- 上传大文件提示API calling faild. HOT 1
- 我们的linux服务器报告你这个脚本是木马 HOT 2
- 关于API回调地址 HOT 1
- 获取文件列表的功能 HOT 1
- 好像没法下载了,上传正常 HOT 2
- Windows Defender报毒 HOT 6
- win下上传出错,其他功能正常 HOT 1
- 百度PCS API 审核听说关闭了,那申请新账号就不能开通PCS API? HOT 2
- 该项目是否存在授权协议? HOT 1
- 上传速度 HOT 2
- 用户授权码错误 HOT 3
- Missing variable in md5check()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpcs_uploader.