gtrusler Posted February 3, 2004 Share Posted February 3, 2004 I'm having a little trouble with the download function. Everything in the cart is working fine until I get to the checkout_success page with the download link. The file I'm making available to download is an Adobe Acrobat document (pdf). When I click on the link and either open it or save it, Acrobat tells me that the file is corrputed. My original file size is 451 kb, but the file that is downloaded is 2 KB, so I know something is getting screwed up. I've verified that the permissions are set properly and I've tried uploading the file in both binary and ascii. I'm using 2.2 MS2. Any suggestions? Thanks, Graydon Link to comment Share on other sites More sharing options...
user99999999 Posted February 4, 2004 Share Posted February 4, 2004 Try viewing the 2k file in notepad and see what it says. Link to comment Share on other sites More sharing options...
OceanRanch Posted February 4, 2004 Share Posted February 4, 2004 Try the download with redirect set to true via your admin->config->downloads menu. It was the only way I got mine working a while ago. Tom Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2004 Share Posted February 25, 2004 I was having precisely the same problem and searched this database for possible solutions. I took the advice given in this posting and examined the contents of the corrupted file using notepad. Despite the files .pdf extension, the file was actually and HTML error log. Apparently, when the user clicks the download link in OSC, it creates a temporary download file/directory in the pub directory. Permissions for the pub directory were not set to allow me to create files with in it. Changing the permissions on the pub directory solved the problem. :rolleyes: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.