Wifi Transfer Plugin - File Extension Change Error

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
carstenengelke
New Member
New Member
Posts: 1
Joined: 2023-04-30, 08:05 UTC

Wifi Transfer Plugin - File Extension Change Error

Post by *carstenengelke »

Hi, thanks for this very useful plugin, I use it very frequently and think this qr code exchange mechanism is seminal. However, when I download music files with rather unfamiliar type (e.g. .m4a extension) they appear as .m4a files in the list, the url links to an .m4a file, but the file extension when downloading changes to .mp3 . This needs to be renamed manually afterwards. Maybe some error in the http response code in the app?Image: https://i.ibb.co/WffSjkC/screen.jpg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Wifi Transfer Plugin - File Extension Change Error

Post by *ghisler(Author) »

This seems to be caused by your browser. Android seems to use audio/mpeg as the MIME type of .m4a files, and the browser then assumes it's an mp3 files and renames the file by itself. Maybe I can try to override the mime type in the server.

Can you tell me which browser you are using?
Author of Total Commander
https://www.ghisler.com
Post Reply