When I upload a large file (starting from 100 MB) it is easily loaded into the editor, but when I try to display it on the Internet, I get an error that the file was not found
HTML Repls run on a separate runtime than other Repls, which allows them to statically host files efficiently. However, that has its drawbacks, as noted in my response here.
If you move each folder and file around, that should let our service know that they exist. If you’re still having trouble, we recommend creating an Express server on a Node.JS Repl instead.
no the issue is it should download it right? he wants it to be downloaded when you follow the link right? either replit has an issue with that file type or the file is too big to upload to replit
mabie try uploading the file to github then doing git clone (repository url) then you can move the file into the correct directory using the mv command in the shell. i hope this works for you
Does this happen when said file is moved within or directly uploaded into a sub-directory, or does it happen regardless of its place in your project’s files? (Reason being is that was able to reproduce a similar issue a while back, need to find the post though)
Actually, IIRC if it can’t load within the browser it will just download to your system. That’s how big Download buttons trigger your browser to download some exe. If OP doesn’t see their content on the browser, but it isn’t a 404, your browser is acting as expected. If a 404 is returned, it could be an issue with Replit. (see edited post above)
It usually wouldn’t do that though, for example: if I were to navigate to a CSS file stored on said server, it would display in HTML, but the file itself is not HTML.
And this:
Regardless though, @teleweb could you please provide more information regarding
If you are trying to display the image the as this image name in any tags like <img> ect then because it’s in a folder you need to add /folder_name/ before the image. For more information: My tutorial on folder image problems.