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

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

Download link is driving me crazy

  • 1 svar
  • 0 har dette problem
  • 17 visninger
  • Seneste svar af robert.loos
  • Open

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 svar (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.

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.