Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore – wrong zip download from estore link
- This topic has 10 replies, 2 voices, and was last updated 12 years, 5 months ago by wzp.
-
AuthorPosts
-
June 15, 2012 at 2:39 pm #6587memosystemMember
I have a file zip in my server. If I try to download it directly from this server I have no problem but if I use a estore link like this http://www.memosystem.it/wp-content/plugins/wp-cart-for-digital-products/download.php?file=xxxxxxxxxxxxxxxxxxxxxxxxx I can download file but when I try to open it I have this error
=============================================================================
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
Error: /home/ottomasi/Scaricati/corso_lett_veloce_multimediale-estore3.zip: Can not open file as archive
Errors: 1
=============================================================================
and the file is 23726732 byte instead of 23765937 byte (that is the value when I download it directly without eStore)
I don’t find any logs in this file download_manager_debug.log
June 15, 2012 at 3:15 pm #46182wzpModeratorAre the debug logs enabled in eStore settings? if so, there should be some entries.
It is also good to take a look at the following checklist:
https://support.tipsandtricks-hq.com/forums/topic/downloaded-file-size-is-0-zero-byte
June 27, 2012 at 10:40 am #46183memosystemMemberhttp://www.memosystem.it/logs.zip
I try again and, again, I don’t find any logs…
June 27, 2012 at 12:12 pm #46184memosystemMemberI have this problem just for zip file and that are in a different server (it’s not in http://www.memosystem.it but an other one)
June 27, 2012 at 12:49 pm #46185wzpModeratorWP eStore –> Settings –> General Settings –> Enable Debug
Run your test download.
Go back to the General Settings page and click on the link for the download_manager_debug.log file.
Look at the result and see what is going on, when the download link is activated.
Since the files in question are on “another server,” you may want to consider the use of eStore’s native Amazon S3 integration feature instead:
The first year of Amazon S3 service is free, and users have been reporting monthly costs of less than 25 cents.
The reason for why you should consider using Amazon S3 is because currently, your eStore server is doubling its bandwidth usage for ZIP files stored on “other domains.” Data is first being read from the remote server and then pushed back out to the user. Not only does this configuration double your bandwidth usage, it also doubles the chances the data will “get glitched” during the download.
When you use Amazon S3, the encrypted download link is first converted into an expiring URL and the user is redirected (handed off) to Amazon, where the download actually takes place. Your server, at this point, experiences zero bandwidth usage because all the downloading is taking place via the Amazon servers.
June 27, 2012 at 4:02 pm #46186memosystemMemberWP eStore –> Settings –> General Settings –> Enable Debug
I had already done it before I did this and previous test
So, I can’t use estore with different download site? I have to use amazon s3 service?
June 27, 2012 at 5:21 pm #46187wzpModeratorDid you look in the log file to see what is going on?
June 27, 2012 at 5:51 pm #46188memosystemMembernothing. You can download here http://www.memosystem.it/logs.zip
June 27, 2012 at 6:00 pm #46189wzpModeratorTry using Download Method #7, to see if it makes any difference.
June 28, 2012 at 8:23 am #46190memosystemMembercURL?
June 28, 2012 at 12:39 pm #46191wzpModeratorYes,.
-
AuthorPosts
- You must be logged in to reply to this topic.