Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen
Offen

Download link is driving me crazy

robert.loos beantwortet
robert.loos

I struggled some time with download links, no matter what filename I specified in the download="filename" attribute, the file I got was always download(1..n). Now I put all into one zip archive. I have a german and an english page, the link is:

Alle Skripte hier zusammen in einem ZIP: <a href="../downloads/backup.zip" title="Download Backup Skripte" class="ilbutton" download>backup.zip</a>

in der deutschen und

Here all together in one zip file: <a href="../downloads/backup.zip" title="Download Backup Skripts" class="ilbutton" download>backup.zip</a>

. I can't see a difference except the language. But: the download of the german link comes as "download.zip". The one from the english one as "backup.zip". WHY???

Thank you for any proposals!

I struggled some time with download links, no matter what filename I specified in the download="filename" attribute, the file I got was always download(1..n). Now I put all into one zip archive. I have a german and an english page, the link is: <p>Alle Skripte hier zusammen in einem ZIP: <a href="../downloads/backup.zip" title="Download Backup Skripte" class="ilbutton" download>backup.zip</a></p> in der deutschen und <p>Here all together in one zip file: <a href="../downloads/backup.zip" title="Download Backup Skripts" class="ilbutton" download>backup.zip</a></p> . I can't see a difference except the language. But: the download of the german link comes as "download.zip". The one from the english one as "backup.zip". WHY??? Thank you for any proposals!

Alle Antworten (1)

Ignore this post. I think, i've found the evil. It is the perl module HTML::TreeBuilder, which expands the download to download="download". What a crap.

Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.