Jump to content

Large Size Digital Product Upload Download Selling - tutorial


Recommended Posts

Large Size Digital Product Upload
Big File Upload


Large Size Digital Product Upload - Download

tutorial by adamus


try newest prestashop 1.3.4

upload big file via ftp to download folder
eg. my big CD.rar <<700MB

create txt file e.g. abc.txt
rename it to same name like above

from abc.txt to my big CD.rar << it should have 0 bytes
then upload it normally via prestashop

save product

.
check the name of new product
we have a:
4f62d3176c38fe3fd2ca57b94be725be3b9d53d3 file

.
ok so in prestashop we have a 2 files:
my big CD.rar
4f62d3176c38fe3fd2ca57b94be725be3b9d53d3

copy name of file: 4f62d3176c38fe3fd2ca57b94be725be3b9d53d3
and rename my big CD.rar to my big 4f62d3176c38fe3fd2ca57b94be725be3b9d53d3


in the end we should have 1 file: 4f62d3176c38fe3fd2ca57b94be725be3b9d53d3



then try buy it and download it



important:
use prestashop 1.3.4 (others version doesn't work)
remember to refresh FTP connection (to see modification in FTP)




.
option 2

The problem of majority people who is selling big files I think there are limitation from servers providers.

Only less people have enough money and possibility to have a dedicated server, where is possible to set up own limitation.

main limitation are max post, max limit of running php scripts

I was thinking how to solve a problem but I haven’t enough skills to solve it alone. I going to make a script which it will be sent a password and login to download zone, where client can download big files via FTP.

I am waiting to better solution from PrestaShop community.

Thanks,




Ok let's start

I had creadted HTMP file, it cloud be even simle txt file with
link to downloading products

or

link with login and password to download zone - my first solution


how to make this download zone?
my hosting provider provide password folder, but if you have no option like mine try find something about

.htaccess and .htpasswd



.

///////////////////////////////////////
to PrestaShop community

I looking something like this, see link.
I think it could solve a problem of big files.



please visit my post:
http://www.prestashop.com/forums/viewthread/81926/general_discussion/diffrent_emails_for_diffrent_products__how_to_make_it




Kind regards,
adamus



.
.
update:

is there any module, modification to add multiple download files?

Link to comment
Share on other sites

  • 11 months later...
  • 3 weeks later...

Thanks for your info, even though everything seemed to go fine my problem is the file that got downloaded is being seen as a .txt file rather than a .zip which contains the audio files.

 

Update: I figured this out, I'm using PrestaShop 1.4.6.2 after you upload the 0 kb txt file you must rename the file in the Filename box to whatever the larger file is ie: my big CD.rar or .zip etc..

 

One big remaining issue using either this or the built in method of file delivery in PS is that they do not support file resume, so if someone buys a large size file and need to pause the download or they get hit by a power loss etc they must start the download from the beginning.

 

A more stable approach to this issue is handled by Linklok Paypal, this php script does support file resume and apparently is much less taxing on the file server unfortunately the developer is not planning a PS version of the script (unless enough folks here ask him to??) here is his reply to me, Unfortunately we don't support Prestashop as they don't call Paypal in the recommended way for Paypal third part carts.

 

Any suggestions on how to deal with the file pause / resume download?

 

This is in reference to Large Size Digital Product Upload - Download tutorial by adamus

using his method above and the built in file loader / downloader.

 

Do either of your Batch Downloadable Product's handle pause and resume of downloads?

 

Thanks again!

Link to comment
Share on other sites

×
×
  • Create New...