support

Author Topic: How to allow customer download tar.gz file?  (Read 6218 times)

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
How to allow customer download tar.gz file?
« 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.



Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2063
  • Karma: +325/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How to allow customer download tar.gz file?
« Reply #1 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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Re: How to allow customer download tar.gz file?
« Reply #2 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2063
  • Karma: +325/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How to allow customer download tar.gz file?
« Reply #3 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?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Re: How to allow customer download tar.gz file?
« Reply #4 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.

 

Powered by SMFPacks Social Login Mod