¿HOW TO Open files with SPACES in the NAME?
Hi! I have a problem loading an image from WWW(url)
The url is a string with spaces because the file name has spaces.
How could I download it properly? I have tried WWW.EscapeURL(url) but it doesn't work for Windows.
Thank you all!
Answer by Landern · Aug 24, 2016 at 01:05 PM
Do you have some debugging or logs to share? Screenshots? I was able to escape a url string without any issues as you can see:
You may want to set a break point and check the output from the EscapeURL method. But it does appear to work in the past and in the currentish version.
The point is that I can open an image into a texture if the file name doesn't contain SPACES in the string. But, otherwise, I can't. So, that is why I tried to escape the string.
Your answer
![](https://koobas.hobune.stream/wayback/20220612091453im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can resolve URL with caracter like & and other ? 2 Answers
get image on url, replace and reload in runtime 1 Answer
Stream Audio from a URL? 3 Answers
Update url constantly to show updated data? 0 Answers
Share screenshot on FB without SDK? 1 Answer