We have just moved from Windows to Linux, and CF5 to MX. This move brought a whole host of unpleasant issues with it, mostly having to do with our download process.
1. Does anyone know of a really good zip tag that works with Linux? I loved Ben Forta's cfx_zip on Windows, but can't find one that robust for Linux. Specific problem: I can't find one that will unzip a specific file in an archive that has a zipped folder in it.
2. We store our design files in a non-browser-accessible directory, and then create a zip file in another temp non-accessible directory after purchase. I'm using cfdirectory to create this directory. Most of the time it works, but sometimes for no reason that is apparent to me, it doesn't. (Yeah, as I wrote this I realized that I needed to do a different thing with error handling here, so maybe next time it happens I will get a clue.) Meanwhile, does anyone know why this would happen? It can work sometimes for a particular user and not others.
3. When everything else has worked so far, and the customer's zip file has been created, they can choose download or email. I'm using
<CFHEADER NAME="Content-Disposition" VALUE="attachment; StitcheryMall.zip">
<CFCONTENT TYPE="application/x-zip-compressed" FILE="#zipname#" deletefile="yes">
for the download. In our testing, this worked acceptably. It does indeed download the proper file, and for all of our tests (except with Opera), the file ended with .zip. We have customers saying that they are getting .cfm or no extension. Any ideas?
4. When they select email, we use
<cfmail to="#user.email#" from="#me#" subject="Stitchery Mall Files" spoolenable="no">
<cfmailparam file="#zipname#" type="application/x-zip-compressed">
blah blah blah </cfmail>
Spoolenable is no because the next thing that happens is that the file gets deleted, and if it is yes, half the time it gets deleted before the message gets sent. The problem here is also the file name. People are getting all sorts of things - and they have forwarded them to me. Generally it is a good file, but often with a .dat or no extension. Any clues here?
5. Some customers are reporting corrupted files. Could this be an issue with the zip tag, or is it more likely part of the download/email process? I suppose it could also simply be their way of reporting a bad file extension.
I appreciate any help you can give me. I'm almost too busy sending out files to customers to actually fix anything!
Carol Chandler
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

