Closed seivad closed 5 years ago
Hi @seivad,
I have tested the upload with filenames including spaces within the demo app with the demo server, and the files uploaded successfully.
Could you check what is the size of the file at the beginning, as fs.File.fromPath
gets or creates a file with path and it is possible that new file is created instead of returning the expected one.
closing due to inactivity
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
I've found that choosing files with spaces in their filename do not upload, I receive a:
and that is all. But when uploading files without spaces, it works correctly.
I have since tried doing a replacement on the filename and storing that file as a tmp file and uploading from that, which console.logs out correctly with the updated filename with dashes replacing spaces but it still fails to upload. Results in 2 Progress and 1 Complete logs and that is all. The file is zero bytes when it uploads.
All normal files with underscores or dashes upload correctly.
I've left comments and my testing code below to show you what I've attempted / tried. It seems like a bug on the plugins end though as it shouldn't matter if I choose a file with spaces or not.