rejetto forum

Automatic download

SenHFS · 3 · 2853

0 Members and 1 Guest are viewing this topic.

Offline SenHFS

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Hey guys,

What I need is:
Enter a http link and get an automatic download of a file (maybe 2 at the same time) without clicking anything.

Is that possible with HFS?

Thanks


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 911
  • I'm only trying to help i mean no offense.
    • View Profile
yes, a code simalr to this

the lineplaced in the header is what you need:
<meta http-equiv="refresh" content="0"; URL="https://bmartino1.dyndns.org">

break down
meta data - http-equiv="refresh"  is a comand to hit the refresh button on the webpage, but to a specfic page you put...
content="0" is how many second will pass before the page will refresh, 0 means as soon as possible...
URL, is the path to the download file you are wanting to send...

html code(form http to transfer to https...(LOLZ):
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv="refresh" content="0"; URL="https://bmartino1.dyndns.org">
<title></title>
</head>
<body>
<p>redirecting you to <a href="https://bmartino1.dyndns.org"> https://bmartino1.dyndns.org &lt;.a&gt;</a></p>
</body>
</html>

LOLZ... hopes this helps
:)
With the move to hfs 3.0 and github. I'm using Unraid and HFS 3 as a docker. Any File Mentioned is now removed from my google drive.