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 2022/05/06 05:35:03 UTC
[GitHub] [cordova-plugin-file-transfer] wengki opened a new issue, #332: open failed: EACCES (Permission denied)
wengki opened a new issue, #332:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/332
I try to transfer document files (pdf,docx,...), and it's ok with API < 29. But now I always get 'open failed: EACCES (Permission denied)' when trying it on API >= 29
Here is my code:
window.resolveLocalFileSystemURL(fpath, (entry) => {
let options = new FileUploadOptions();
options.httpMethod = 'POST';
options.fileKey = 'file';
options.fileName = entry.name;
options.mimeType = entry.type;
options.params = {
id: 1
};
let fileTransfer = new FileTransfer();
fileTransfer.upload(entry.nativeURL, 'http://localhost/upload.php', (suc) => {
console.log(suc)
}, error => console.log(error), options);
}, error => console.log(error));
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org.apache.org
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
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #332: open failed: EACCES (Permission denied)
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #332:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/332#issuecomment-1198374904
Whoever marked my comment as spam is wrong. That suggestion on the URL works.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-file-transfer] bemendozaa commented on issue #332: open failed: EACCES (Permission denied)
Posted by GitBox <gi...@apache.org>.
bemendozaa commented on issue #332:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/332#issuecomment-1301450295
mismo problema
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-file-transfer] phusting commented on issue #332: open failed: EACCES (Permission denied)
Posted by GitBox <gi...@apache.org>.
phusting commented on issue #332:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/332#issuecomment-1196109924
I was getting that EACCES issue too and I found this article about changing the root owner to you. It worked for me. https://www.dailytask.co/task/error-eacces-permission-denied-rename-usrlocallibnodemodulescdk8s-clinodemodulescliui-ahmed-zidan
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-file-transfer] breautek commented on issue #332: open failed: EACCES (Permission denied)
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #332:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/332#issuecomment-1198378051
> Whoever marked my comment as spam is wrong. That suggestion on the URL works.
The linked article is about installing NPM modules. This issue is about the cordova file transfer plugin not being able to store files on the user's device. Two completely separate issues that are not related whatsoever. I marked it as spam because it appeared to be bot-like behaviour.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
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
[GitHub] [cordova-plugin-file-transfer] reinaldoborin commented on issue #332: open failed: EACCES (Permission denied)
Posted by GitBox <gi...@apache.org>.
reinaldoborin commented on issue #332:
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/332#issuecomment-1277759971
Having same problem.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
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