[Skip to main content](#vessel-content)

#   Download of large files often but not always fails

##

- **[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")**
- [![tgdkere2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8136-tgdkere2 "View tgdkere2's Profile") Topic Author
- [ Offline](/forum/user/8136-tgdkere2)

Less More

- Posts: 82
- Thank you received: 5
-
-

12 years 7 months ago [\#153067](#153067) by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")  *[Download of large files often but not always fails](/forum/35-orders-management/867602-download-of-large-files-often-but-not-always-fails#153067 "Attached files to products sometimes fail to download. Sometimes the download just hangs and stops for files larger 300MB. It does NOT fail always !!  Server parameters should not be a problem, since other Joomla download components work fine like jdownloads etc. The problem could only be seen in hikashop product file downloads.  Server php parameters: Erlaubte Dateigröße (max&#95;filesize): 2000M Erlaubte POST Größe (post&#95;max&#95;size): 2001M Speicherbeschränkung auf (memory&#95;limit): 2500M Maximale Scriptlaufzeit für Uploads (max&#95;input&#95;time): 3600 Maximale Scriptlaufzeit (max&#95;execution&#95;time): 3600  It is hosted on IIS with large timeout settings &gt; 3600seconds.  What is the problem and could you tell me the php file handling the download of the product files.  Thanks and regards")* was created by *[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")*

Attached files to products sometimes fail to download.
Sometimes the download just hangs and stops for files larger 300MB.
It does NOT fail always !!

Server parameters should not be a problem, since other Joomla download components work fine like jdownloads etc.
The problem could only be seen in hikashop product file downloads.

Server php parameters:
Erlaubte Dateigröße (max_filesize): 2000M
Erlaubte POST Größe (post_max_size): 2001M
Speicherbeschränkung auf (memory_limit): 2500M
Maximale Scriptlaufzeit für Uploads (max_input_time): 3600
Maximale Scriptlaufzeit (max_execution_time): 3600

It is hosted on IIS with large timeout settings &gt; 3600seconds.

What is the problem and could you tell me the php file handling the download of the product files.

Thanks and regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NzYwMi1kb3dubG9hZC1vZi1sYXJnZS1maWxlcy1vZnRlbi1idXQtbm90LWFsd2F5cy1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 7 months ago [\#153089](#153089) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Download of large files often but not always fails](/forum/35-orders-management/867602-download-of-large-files-often-but-not-always-fails#153089 "Attached files to products sometimes fail to download. Sometimes the download just hangs and stops for files larger 300MB. It does NOT fail always !!  Server parameters should not be a problem, since other Joomla download components work fine like jdownloads etc. The problem could only be seen in hikashop product file downloads.  Server php parameters: Erlaubte Dateigröße (max&#95;filesize): 2000M Erlaubte POST Größe (post&#95;max&#95;size): 2001M Speicherbeschränkung auf (memory&#95;limit): 2500M Maximale Scriptlaufzeit für Uploads (max&#95;input&#95;time): 3600 Maximale Scriptlaufzeit (max&#95;execution&#95;time): 3600  It is hosted on IIS with large timeout settings &gt; 3600seconds.  What is the problem and could you tell me the php file handling the download of the product files.  Thanks and regards")*

Hi,

I would have guessed at a server restriction actually. We have users selling download files of several GB with HikaShop (games, movies), so unless your web server has some kind of limitation, I don't see why it would be a problem on your end.
Or maybe you use a really old version of HikaShop which didn't contain the optimizations that we have added in the past regarding the download of big files.

The download is handled in the file administrator/components/com_hikashop/classes/file.php in the function sendFile.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NzYwMi1kb3dubG9hZC1vZi1sYXJnZS1maWxlcy1vZnRlbi1idXQtbm90LWFsd2F5cy1mYWlscz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
