FileTransfer上传错误“ 1”,但适用于其他功能

时间:2018-12-11 07:41:09

标签: cordova phonegap file-transfer

我的文件中有两个地方使用FileTransfer()对象的upload()方法。响应于单击“按钮1”,过程A上载没有问题的文件。进程B响应单击使用另一个FileTransfer()对象的“按钮2”,抛出错误

{"code":1,"source":"file:///storage/emulated/0/Android/data/com.cge.myassets/cache/1544505676297.jpg","target":"http:www.MY_SITE...,"http_status":404,"body":"<!DOCTYPE html ... 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

当来源清楚地显示为file:///storage/emulated/0/Android/data/com.cge.myassets/cache/1544505676297.jpg

时,情况如何?

我希望你们中的一个有这个问题,可以伸出援助之手!预先感谢!

0 个答案:

没有答案