Pizzaman45 wrote:
Thanks for the reply! I saw a post where someone said a site automatically downloaded a file to their files app so that is why I ask. Is it possible for a file to download from a website in secret or would it tell you?
Hello. Thank you for your question.
The question is whether a website can “secretly” download a file.
Your question is also implicitly whether someone misrepresented, misunderstood, or got confused. Or met a bug.
Web sites work by serving HTML, and the browser rendering that and running ECMAScript or Web Assembly, and such.
Web sites can also stream video, audio, and other content. And can download and cache data and cookies.
Web sites can offer notifications and calendars, though those require the users to accept the chatter
Web browsers can sometimes get confused about a website-related file, and download it. This is very rare.
Web sites cannot download arbitrary files without permission. Were that “secret” download to happen, our devices would all quickly be full. Browsers work to prevent that download, and prevent HTML and ECMAScript and Web Assembly from escaping out of the browser context.
In simplest terms—and the modern web is ever-further from simple—web sites cannot download files in secret.