You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/18 15:50:01 UTC

[GitHub] [cordova-plugin-file-transfer] heyypatrick commented on issue #244: iOS: Upload encounters "Invalid URL server" with DATA_URL destinationType

heyypatrick commented on issue #244:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/244#issuecomment-646115360


   > the second parameter of upload should use encodeURI(), for example:
   > ` fileTransferObj.upload(fileObj.file_path, encodeURI(uploadURL), options).then((res) => { observer.next(res); }, (err) => { this.toast.showToast(err, 2000); }).catch((e) => {});`
   > see [docs](https://github.com/apache/cordova-plugin-file-transfer)
   
   Wow! It's almost a year and I'm still stuck in this problem. Had to work on a workaround to fix this issue. I will surely try this one thank you, @johnjackson !


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org