Comments (2)
使用的哪个接口?是浏览器环境吗?还是nodejs环境?
如果是浏览器环境使用put接口的时候不能直接传入一个文件地址,浏览器环境put接口没办法直接读取本地文件,只能传入一个buffer或是一个stream
from ali-oss.
浏览器端请将数据内容转换成file 使用multipartUpload 或使用buffer 使用put
from ali-oss.
Related Issues (20)
- Node 最新版本 enableProxy 导致找不到 x-oss-request-id HOT 3
- 6.18.0 更新日志在哪里?是 npm 账号被盗用了么? HOT 3
- window is not defined in webworker HOT 2
- Is there a way to multipart upload with signedUrl?
- Object.put 指定 file 为路径时响应没有 url 吗
- Bug: Nuxt3+ts项目 打包报错 HOT 8
- 上传失败错误-1 HOT 2
- 在vite中使用出现开发环境与生产环境表现不一致的问题 HOT 1
- VUE3+VITE 使用oss打包时报错 HOT 1
- ali-oss 不支持在 cloudflare workers 中使用 HOT 2
- 使用 6.18.1 版本在 next.js 框架下以及 nodejs v18.14.2 环境中提示依赖 proxy-agent implementation 找不到 HOT 1
- 如何实现大文件断点续传下载 HOT 1
- vite使用ali-oss时打包出错
- 能否支持CLI, 命令行调用?
- 多个文件上传,如何更新进度条
- https://registry.npm.taobao.org/ali-oss: certificate has expired HOT 1
- Nextjs Critical dependency: the request of a dependency is an expression HOT 2
- 浏览器里下载较大的文件后,无法解析,报错 RangeError: Invalid array length
- Pre signed URL does not match/预先签名URL上传jpeg照片时出现签名不符错误
- 【安全漏洞】NPM IP package vulnerable to Server-Side Request Forgery (SSRF) attacks HOT 1
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 ali-oss.