Phonegap's FileTransfer.upload() throwing error code 3 on Android

后端 未结 8 1511
离开以前
离开以前 2020-12-16 03:01

I am working on uploading a picture to a server. I am able to successfully upload an image using iOS but when i try on android I get the error code 3. Currently using phoneg

8条回答
  •  春和景丽
    2020-12-16 03:28

    This happened to me too. You should specify chunkedMode=false (http://stackoverflow.com/questions/8522729/phonegap-filetransfer-upload-fails-on-android)

    var options = FileUploadOptions();
    options.chunkedMode = false;
    

提交回复
热议问题