Hi folks.
I've been working in a fairly hefty-sized RPG for over 18 months, and was keeping my .love file size down by allowing players to download music directly from my website using the lovely little socket library discussed here: https://love2d.org/forums/viewtopic.php ... 4&start=10
It's been working beautifully for over a year, but I decided to move from music in .mp3 files to tracker .xm files and now I'm getting 404 errors which are really confusing to me.
I am *not* a web-coder by any means and most online coding stuff makes zero sense to me. Am I missing something fundamental about requesting a file via http request that isn't a simple image or music format?
[Edit] For the record, I've tried using simple http requests in my browser and get the same result, despite FileZilla being absolutely certain the .xm file is where I think it is, and is named what I think it is named.
Is it something to do with 'MIME types'? If so, I'll delete this post, as it's not relevant to this forum.
Downloading files from the internet: .xm receive a 404 error, while mp3s don't!
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Downloading files from the internet: .xm receive a 404 error, while mp3s don't!
Hey. This is probably not related to love2d, but that doesn't mean we can't help you with that. Some web servers have a whitelist of allowed file extensions for static files. Since .xm files are not common, I guess you need to configure somewhere that they should be reachable as static files. How to do that exactly depends on your web server. Why not ask your web host for help?
Zabuyaki, our upcoming beat 'em up: https://www.zabuyaki.com
Re: Downloading files from the internet: .xm receive a 404 error, while mp3s don't!
Check also for case sensitivity, just in case.
Who is online
Users browsing this forum: slime and 71 guests