java - 七牛文件上传传的参数为啥只能是路径,不能是文件么
大家讲道理
大家讲道理 2017-04-18 10:16:33
0
1
333

七牛文件上传传的参数为啥只能是路径,不能是文件么,我前台传过来一个文件,本地没有,所以参数只能是文件吧,但七牛提供的上传文件接口中是路径,我该怎么办

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
刘奇

Reading files in javaIO must be based on the address. . new File(path); The file you uploaded must exist locally. Otherwise you can't upload it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template