RE: Repost: Directory, download and cfmail attachment issues

2003-11-17 Thread Matthew Fusfield
Try cfx_zipman, it is in Java and should work on Linux.
http://www.emerle.net/programming/cfx_zipman.cfm

 
Matt

	-Original Message-
	From: Carol Chandler [mailto:[EMAIL PROTECTED] 
	Sent: Monday, November 17, 2003 10:41 AM
	To: CF-Talk
	Subject: Repost: Directory, download and cfmail attachment
issues
	
	
	Reposted because I just discovered on another list that posts
made from the 
	archives didn't show the contents of the post, and that might
explain why 
	my questions rarely get answered here!
	
	Hi all,
	
	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]




re: Repost: Directory, download and cfmail attachment issues

2003-11-17 Thread Carol Chandler
cfx_zipman didn't work as documented when trying to unzip all contents of a 
zip file.I'm using CFX_JCompress to extract individual files (but it 
doesn't work if they are inside a folder within the zip file) and 
cfx_MultiZip to list the contents of a zip file, extract all of the 
contents of a zip file, and build a new one.

I think that #4 is my biggest problem right now - email attachments getting 
renamed.Clues anyone?

thanks,
Carol Chandler

From: Matthew Fusfield [EMAIL PROTECTED]
Date: Mon, 17 Nov 2003 10:49:42 -0500
Thread: 
http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=28733forumid=4#144291

Try cfx_zipman, it is in Java and should work on Linux.
http://www.emerle.net/programming/cfx_zipman.cfm

Matt

-Original Message-
From: Carol Chandler [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 10:41 AM
To: CF-Talk
Subject: Repost: Directory, download and cfmail attachment
issues

Reposted because I just discovered on another list that posts
made from the
archives didn't show the contents of the post, and that might
explain why
my questions rarely get answered here!

Hi all,

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]