AbanteCart Community

Shopping Cart Operations => Built-in Features => Topic started by: yonghan79 on October 18, 2021, 04:48:53 AM

Title: How to allow customer download tar.gz file?
Post by: yonghan79 on October 18, 2021, 04:48:53 AM
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.


Title: Re: How to allow customer download tar.gz file?
Post by: abolabo on October 18, 2021, 04:59:29 AM
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.
Title: Re: How to allow customer download tar.gz file?
Post by: 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.
Title: Re: How to allow customer download tar.gz file?
Post by: abolabo on October 18, 2021, 05:52:42 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?
Title: Re: How to allow customer download tar.gz file?
Post by: yonghan79 on October 18, 2021, 06:05:03 AM
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.