Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

php download link brings up an octet/stream

  • 1 antwurd
  • 1 hat dit probleem
  • 8 werjeftes
  • Lêste antwurd fan the-edmeister

more options

Hello!

I've programmed a website that distributes my music through a .php direct download link. In most web browsers, clicking on the said link would immediately download my music to their download folder, as expected.

With Firefox, however, people are reporting a failure in this download and when I tested it out for myself, it looks as if the filename has been cut down to one word and it appears to be in an "octet/stream", according to Firefox.

If I rename the file, giving it the .mp3 extension back, the file will play on my computer. But my question is, is there a different piece of code that I need to put on my website that will allow my users to directly download music files to their computer? Currently I have a secondary link for firefox users telling them to right-click and save, but I would like a one-button solution for everyone.

Hello! I've programmed a website that distributes my music through a .php direct download link. In most web browsers, clicking on the said link would immediately download my music to their download folder, as expected. With Firefox, however, people are reporting a failure in this download and when I tested it out for myself, it looks as if the filename has been cut down to one word and it appears to be in an "octet/stream", according to Firefox. If I rename the file, giving it the .mp3 extension back, the file will play on my computer. But my question is, is there a different piece of code that I need to put on my website that will allow my users to directly download music files to their computer? Currently I have a secondary link for firefox users telling them to right-click and save, but I would like a one-button solution for everyone.

Alle antwurden (1)

more options

Don't have spaces in the file names, use-hyphens-or_underscores_instead of spaces.