How to allow customer download tar.gz file?

Started by yonghan79, October 18, 2021, 04:48:53 AM

Previous topic - Next topic

yonghan79

Hi admins,

I test uploading .tar.gz file as a downloadable file and i found out it is converted to .gz.

I have attached the screenshot.

I wonder if we can have customer download tar.gz file instead of .gz file? If yes, what should i change to achieve that?

Thanks.



abolabo

hi.
This is not a problem. If you click download icon browser propose to save file with .tar.gz file extension.

File on disk have our inner file naming. Please ignore it.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

yonghan79

Are there any way so when customer download the file, it will automatically downloaded as tar.gz file instead of having to manually rename the file name.

abolabo

Quote from: yonghan79 on October 18, 2021, 05:14:18 AM
Are there any way so when customer download the file, it will automatically downloaded as tar.gz file instead of having to manually rename the file name.

it's already works so. Did you checked?
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

yonghan79

I just test it again and i can get the tar.gz. Apparently i'm not configuring the download mask correctly.

Thanks for the help.

Forum Rules Code of conduct
AbanteCart.com 2010 -