Spaces in filename
See original GitHub issueHi @Elyx0 @KinanKazmi I’m trying to upload file to my server (due to your example) The example file in attachments archive images.zip
I got error from RNFS library during the preparing real path
<Warning>: Failed to open target file at path: file:///Users/anastasiiak/Library/Developer/CoreSimulator/Devices/deviceID/data/Containers/Data/Application/appID/tmp/org.app/archive%20images.zip
Could you explain how to fix this problem? Thanks
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:5
Top Results From Across the Web
Dealing With Spaces in Filenames in Linux - Linux Handbook
Read a file with spaces in filename ... Basically, you put a \ before every space in the filename. You could also use...
Read more >How to reference filename with spaces in Linux
It becomes challenging, especially to access a path that has a folder with “space” in its name. So, the easiest way is to...
Read more >Is space not allowed in a filename? - Unix StackExchange
Spaces, and indeed every character except / and NUL, are allowed in filenames. The recommendation to not use spaces in filenames comes from ......
Read more >How to Read a Filename with Spaces in Linux - LinuxOPsys
If you want to view such a file with space in the file name, use the same principle of enclosing the file names...
Read more >Why shouldn't spaces be used in filenames on the computer?
You shouldn't use spaces (or other special characters like tab, bel, backspace, del, etc.) in filenames because there are STILL so many badly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try: decodeURIComponent(name) for the name of the file.
On iphone8 and above, I needed to
imafeRef.put(decodeURIComponent(uri), { contentType: mime })
for it to upload files with spaces in the name.