- Home /
Is there a way to load resources with unkown case (.png/.PNG) using www objects?
How do you load web resources using a www object without knowing what case the file extension will be? Is there a way to get the url "someurl/someimage.png" to load regardless of whether the file extension is uppercase or lowercase?
Comment
Best Answer
Answer by Bunny83 · Oct 28, 2017 at 10:45 PM
No, there's no way on the client side as it depends on the server implementation. A server could ignore the case, however most web servers run on a linux / Unix based system where the file system is actually case sensitive. So a file name like "Text.txt" is not the same as "text.txt" or "Text.TXT". That means you usually have to use the correct casing. If you host the files, make sure you save them with a unique naming pattern.