News:

Looking for documentation? Take a look on our wiki

Main Menu

anyway to upload 25 mbs files to virtuemart for digital downloads

Started by Melch777, March 14, 2015, 17:35:08 PM

Previous topic - Next topic

Melch777

Hi, I was wondering if there were anyway to use any of the virtuemart digital downloading plug-ins to upload and sell large mp3 files of about 25MBs. I tired one plug-in and it couldn't handle the file size. I have a feeling that virtuemart is restrictive about file sizes, when using the "media files" section to create downloadable products.

Is file size a big problem or file format a big problem in using "digital downloads" feature with the available plug-ins for such features.

I havn't been able to find anything that deals with the problem of file sizes in using various plug-ins.

Is there any way to use a remote folder and access the files with a virtuemart plug-in?

I have a feeling the answer is probably not :'(

jenkinhill

The limiting factor is usually down to PHP resource restrictions. If you have a dedicated server you can set up php.ini to handle large files, eg:
Upload_max_filesize  - 1500 M
Max_input_time  - 1000
Memory_limit    - 640M
Max_execution_time -  1800
Post_max_size - 2000 M

But if you have a shared host then there is usually a limit over which you cannot go.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Melch777

Quote from: jenkinhill on March 14, 2015, 18:03:25 PM
The limiting factor is usually down to PHP resource restrictions. If you have a dedicated server you can set up php.ini to handle large files, eg:
Upload_max_filesize  - 1500 M
Max_input_time  - 1000
Memory_limit    - 640M
Max_execution_time -  1800
Post_max_size - 2000 M

But if you have a shared host then there is usually a limit over which you cannot go.

Thanks, I can upload the files directly to my shared hosting account no problem. It's just that when I go through the Virtuemart back-end with the plug-in that it dies after a couple of MBs. I tried uploading direct to the folder, where the 1 MB ebook I uploaded through the virtuemart backend worked but the media files of the virtuemart wouldn't recognize it being there.

Melch777

okay I found a way around my problem. I simply took a text file and named it the same as the large mp3 file that I wanted to upload. Uploaded it through the Virtuemart backend, then went to my hosting account and uploaded the actual file, overwrote it and it replaced it. I checked the file path from the media file in the virtuemart in my browser and it went to the replaced 27 mb file that I uploaded.

The only problem I have is that anyone could copy and paste this address and access this folder.

on the safe path for virtuemart, wouldn't it be much safer to have a htaccess file to block anyone from accessing the folder?

thewitt


Melch777

Quote from: thewitt on March 15, 2015, 04:01:04 AM
Your safepath is outside your web home, right?
No, it's in the public folder. The virtuemart configuration gave me the pathway to follow but I didn't use the "vmfile" for a folder name I made up one. If I setup a folder in the root, it won't work.
\




Milbo

Quote from: Melch777 on March 14, 2015, 17:35:08 PM
Hi, I was wondering if there were anyway to use any of the virtuemart digital downloading plug-ins to upload and sell large mp3 files of about 25MBs.
Our plugin handles even DVDs!

Quote from: Melch777 on March 14, 2015, 17:35:08 PM
I tired one plug-in and it couldn't handle the file size. I have a feeling that virtuemart is restrictive about file sizes, when using the "media files" section to create downloadable products.
Usually the upload has nothing todo with the used plugin. There is no restriction by VirtueMart. How to upload a file is basic administrator knowledge. You can use http, which is most time not resuming and not very robust and always bad for big files and restricted by your server and php settings (as jenkinhill already pointed out). There are also a lot other ways to upload a file for example FTP, java clients, and so on.

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Melch777

Quote from: Milbo on March 15, 2015, 14:30:36 PM
Quote from: Melch777 on March 14, 2015, 17:35:08 PM
Hi, I was wondering if there were anyway to use any of the virtuemart digital downloading plug-ins to upload and sell large mp3 files of about 25MBs.
Our plugin handles even DVDs!

Quote from: Melch777 on March 14, 2015, 17:35:08 PM
I tired one plug-in and it couldn't handle the file size. I have a feeling that virtuemart is restrictive about file sizes, when using the "media files" section to create downloadable products.
Usually the upload has nothing todo with the used plugin. There is no restriction by VirtueMart. How to upload a file is basic administrator knowledge. You can use http, which is most time not resuming and not very robust and always bad for big files and restricted by your server and php settings (as jenkinhill already pointed out). There are also a lot other ways to upload a file for example FTP, java clients, and so on.

Which plug-in are you talking about? I don't think the plug-in is the reason it doesn't upload, I think it's the Virtuemart program and uploading files through it. Because you have to go through it so that it will recognize the files but it is very, very limited in what you can do with it s far as selling large files on-line.

I got around it by overwriting fake files I created and uploaded through it.

Virtuemart is great for people who are going to be selling and shipping actual physical good, that only need to have a picture of their item on-line but really sucks for selling digital files over 3 MBs in size

GJC Web Design

you can just ftp files to the media folders and discover them by -> vmconfig->media files->sync media to VM
you don't have to use vm to upload
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Melch777

Quote from: GJC Web Design on March 16, 2015, 00:26:08 AM
you can just ftp files to the media folders and discover them by -> vmconfig->media files->sync media to VM
you don't have to use vm to upload

It won't sync a 25mb file, I know it won't. Virtuemart is meant for small files and images. that's it. someday someone will come up with a shopping cart that can do it but not today

Milbo

Melch777 you want it really hard, eh? We said it many times the nice way, but now I think you are a troll and want to damage our reputation spreading lies.

Okey I am sorry to say that, but you are a typical Noob, you should learn the basics and read the manual. Before you read the manual of VirtueMart. You should first read the manual of your server software.

Before you talk with Formel1 Pilots about their cars, learn to drive first! You make your self just ridiculous, because you think VM is doing the upload, just because you select in vm the file to upload. => It really shows that you have no clue, how server works.

Again when you upload a file to server, you have the normal problems of uploading a file to somewhere in the inet. The problems depend on the used protocol, which are configured by your server. http://en.wikipedia.org/wiki/List_of_file_transfer_protocols

and most important "the Synchronisation" of media files is NOT uploading anything. It just searched through the local hdd (the local hdd of your server NOT of your home computer!) and creates entries for the files. So you can easily synchronize a 4 GB file.

The limits are in your inet connection, your upload, the stability of your inet connection, your server software, your CGI, your PHP and the last thing in the chain is VM/joomla.

Please read here http://php.net/manual/en/features.file-upload.common-pitfalls.php
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Melch777


Melch777

Quote from: Milbo on March 17, 2015, 12:44:02 PM
Melch777 you want it really hard, eh? We said it many times the nice way, but now I think you are a troll and want to damage our reputation spreading lies.

Okey I am sorry to say that, but you are a typical Noob, you should learn the basics and read the manual. Before you read the manual of VirtueMart. You should first read the manual of your server software.

Before you talk with Formel1 Pilots about their cars, learn to drive first! You make your self just ridiculous, because you think VM is doing the upload, just because you select in vm the file to upload. => It really shows that you have no clue, how server works.

Again when you upload a file to server, you have the normal problems of uploading a file to somewhere in the inet. The problems depend on the used protocol, which are configured by your server. http://en.wikipedia.org/wiki/List_of_file_transfer_protocols

and most important "the Synchronisation" of media files is NOT uploading anything. It just searched through the local hdd (the local hdd of your server NOT of your home computer!) and creates entries for the files. So you can easily synchronize a 4 GB file.

The limits are in your inet connection, your upload, the stability of your inet connection, your server software, your CGI, your PHP and the last thing in the chain is VM/joomla.

Please read here http://php.net/manual/en/features.file-upload.common-pitfalls.php

The VM doens't recognize any files unless I upload them through VM. So your saying I can take files I already have on my hosting account and link them to a file name on vm?

I don't have a pROblem uploading files 2 gbs now from my computer to my hosting account. Why should I have to adjust my hosting accounts settings to accomadate VM?

The limits are in VM not in my cgi or php because I can already compress a 3 gb file and easily upload it to my hosting account from my computer. It's only when I go through VM that it doesn't make it past 2 mbs.

Do you have a better example than that link you posted, any you tube videos. ok thanks for the advice 8)




Milbo

Yeh from your hosting account. You use Plesk, syscp, confixx, or whatever. and again, read the manual. Synchronise does NOT upload ANY file! It just does what you want, it reads all files in the directories and let VM recognise them. So if you are only able to upload big files with your hosting account, then do it there. Upload it to your vmfiles dir and use the synchronise command.

Stop blaming VM for it. It is like driving in a city limited to 50 km/h and saying the car is not able to go with 160 km/h. No it is not the car (VM), it is the environment (city)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/