Jump to content

digital download fails at 1.9M


Guest
 Share

Recommended Posts

purchases and transcations for downloads under 1.9M are successful.

all transactions are succesful with larger files,

but the download- "open" or "save" crashes consistently at 1.9M

ive tried different folders and different files under different products.

im using the "/home/mydomain/file.zip" not the "http" method

thanks for any help in advance

Link to comment
Share on other sites

do i have to purchase the product and a license to enable digital downloads over 2 MB?

all digital downloads using the root server path end at 1.9MB, and then the interface proceeds as if the download was complete

HELP!!!

Link to comment
Share on other sites

do i have to purchase the product and a license to enable digital downloads over 2 MB?

No you do not have to purchase a license for this to work.

The CC is fully functional and is not cripled in any way :unsure:

Sorry i dont have a solution for this but i do suggest checking with your host :D

Link to comment
Share on other sites

  • 4 months later...

Hi,

Did you find a solution to this because I have exactly the same problem. I have contacted my host and they are adamant that everything is fine with server side of things. If I set up test using http method the file can be downloaded successfully but I want the added security of using the root path method. Everything else works fine except the download stops at 1.9mb and states that download is complete even though the file is much larger.

Regards

Craig

Link to comment
Share on other sites

I saw this thread and downloaded the attached file to prevent problems from occuring, as I have one product that is a 31MB mp3 file.

As a result, I had a customer complain that she was unable to download her purchase (a small PDF). I tried and found that I received the same error, which was:

Internet Explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later.

I've replaced the new file with the original one and the problem went away.

Just for reference, I have another download script that works for all my products. Here is the core of that script ($distribution is the reference to the downloadable file):

	if (!preg_match("/^(http|ftp|https):\/\//", $distribution)) {

		$remote_file = false;

		$fd = func_fopen($distribution, "rb");

	}

	else {

		$remote_file = true;

		$fd = fopen($distribution, "rb");

	}



	if ($fd) {



		$fname = basename($distribution);



		header("Content-type: application/force-download");

		header("Content-Disposition: attachment; filename=\"$fname\"");



		if (!$remote_file) {

			$size = filesize($distribution);

			header("Content-length: $size");

		}



		@fpassthru($fd);



		fclose ($fd);

Hope this helps.

Link to comment
Share on other sites

  • 4 years later...

Hi,

I've modded the code to look if the file execution aborts and reloads itself. If your downloads cut off early try the following file. This code will be present in 3.1.0.

I know this is a old tread but does anybody have the old download.php file prior to this patched version? Before v3.0.10.

I have another script that is behaving the some and I want to see what modification need to be done.

Regards

Craig

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...