Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download ends up being a different size


Hambowned

Recommended Posts

I just uploaded a 40 meg wmv or wma file to the "Downloads" directory, but when I ran a "TEST" paypal transaction, the download link does work, and I get a "Save to Directory" pop up, when I DO Save..its like a 500K file??????

 

What happened, the download itself doesn't seem to be the file I uploaded. What gives?

 

Just give it a try

 

 

My Webpage

 

Try buying the "Hambone's Rival" file

 

 

It's set up for 1 cent

Link to comment
Share on other sites

What do you mean by the properties on the folders? And "Yes" to the payment is set up for download...I get a "Download" prompt, I just choose the directory to save it to, and hit the "SAVE" button.....just that it downloads some sort of incompatible 500K file...the file is actually 40 megs

Link to comment
Share on other sites

Here's what I get when I hit the "Download" link that shows up in my card for "Links available for download" I click on the link, hit "SAVE"

 

and I get this:

 

download.gif

 

I was like "Woah", 558 bytes?????? in 1 second????

 

What happened here?

Link to comment
Share on other sites

Have you visually checked the download file in the downloads folder? Sometimes they can become corrupted during the upload. I had a few zip files that did that and had to reupload them - once I did that, they were fine.

 

It shows the size when you view the contents of the folder so you can easily see if it is not large enough.

Link to comment
Share on other sites

Have you visually checked the download file in the downloads folder? Sometimes they can become corrupted during the upload. I had a few zip files that did that and had to reupload them - once I did that, they were fine.

 

It shows the size when you view the contents of the folder so you can easily see if it is not large enough.

 

No they are not corrupt, these are freshly newly made files. So that is not it.

 

And what am I looking for if I'm "Visually" checking them?

Link to comment
Share on other sites

Doesn't make any difference when they were made. Mine were all newly made also - but when they got uploaded, most were fine but a few got corrupted during the upload - don't know why.

 

What you are looking for: you open the downloads folder in your directory tree and check the size of the file next to its name in the file list.

 

If it says 40MB then the file itself is fine and the problem lies elsewhere. If it says 500 bytes, then you know it is your file that is corrupted and needs reuploading.

 

Also, when you open the zip file that you download on purchase, what is in it, if anything?

Link to comment
Share on other sites

Doesn't make any difference when they were made. Mine were all newly made also - but when they got uploaded, most were fine but a few got corrupted during the upload - don't know why.

 

What you are looking for: you open the downloads folder in your directory tree and check the size of the file next to its name in the file list.

 

If it says 40MB then the file itself is fine and the problem lies elsewhere. If it says 500 bytes, then you know it is your file that is corrupted and needs reuploading.

 

Also, when you open the zip file that you download on purchase, what is in it, if anything?

IT is a Windows Media Audio/Video file (*.wmv) file

 

I checked the properties...and the file size is at it should be when I right click.

Link to comment
Share on other sites

Doesn't make any difference when they were made. Mine were all newly made also - but when they got uploaded, most were fine but a few got corrupted during the upload - don't know why.

 

What you are looking for: you open the downloads folder in your directory tree and check the size of the file next to its name in the file list.

 

If it says 40MB then the file itself is fine and the problem lies elsewhere. If it says 500 bytes, then you know it is your file that is corrupted and needs reuploading.

 

Also, when you open the zip file that you download on purchase, what is in it, if anything?

IT is a Windows Media Audio/Video file (*.wmv) file

 

I checked the properties...and the file size is at it should be when I right click.

Well, in the screen shot you posted, it says it is a zip file.

Link to comment
Share on other sites

you have ran out of stock quantity for test purposes

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

you have ran out of stock quantity for test purposes

 

Oh, okay, would that have something to do with it? I just ignored it, if that's what's causing the problem, how do I rid myself of the " out of stock " option, I know when I put the product up, I had the "In stock" checked though...

Link to comment
Share on other sites

  • 3 months later...

I have the same problem and can't seem to get it to work.

 

I sell products on my website that once purchase has the ability to download.

 

It used to work before I made some changes but now I have an error.

 

After the customer makes a purchase and checks out, the download link comes up but when they download the .zip file it is corrupted. It is 544 bytes instead of 800-1000kb.

 

Does anyone know what may be the problem?

Link to comment
Share on other sites

In case it happens to someone else here is the fix.

 

I found out the problem was that although I had the downloads/ folder chmod 777, I needed to also have pub/ folder set to 777.

 

Aparantely, it will create the file in the pub/ folder temporarily until it's downloaded. Since it didn't have read-write permission, it wasn't able to write to the pub/ folder. That's why I would get a file of 544 bytes or so.

 

Took a few days to figure it out... <_<

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...