• gaston909

    (@gaston909)


    I have tried every single thing* possible to test this problem.

    Basically I am selling a digital download in zip format, I have tried creating the zip in windows and mac with every program possible and downloading on both platforms after payment with a secure link.

    The files are not corrupted on upload as I can download them from the ftp in perfect working condition.

    But there is a problem with ASCII coding which causes the zip or any other compress archive… to be corrupt when I download onto my mac.

    I am using Chrome, but will test in other browsers and let you know if there is any change.

    Windows handles the files perfectly…

    Is it the nature of ASCII in wordpress? Help me 🙂

    Thanks

    http://wordpress.org/extend/plugins/wp-e-commerce/

Viewing 1 replies (of 1 total)
  • Hi,

    I’ve been having problems downloading .zip and .rar files in WP-Ecommerce from both Windows and Mac (the file is corrupted, unexpected end of file).

    Not sure if this is your problem, but I fixed it by commenting the following line:

    At wpsc-includes/ajax.functions.php:1050

    header( ‘Content-Length: ‘ . filesize( $file_path ) );

    The problem seems to be that HTTP chunked transfer encoding is used to send the file. This is incompatible with the Content-Length header and it seems to confuse Google Chrome in this case.

    Regards,

    AldoIsant: http://www.aldoilsant.com

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP e-Commerce] ACSII PROBLEM WITH MAC ZIP DOWNLOADS’ is closed to new replies.