Thanks for the comments, Brad & Josh...

I switched the account under which CF runs to my login
and still no-go.

I still get the same message in the extract_log.txt, too:

Decrypting Encrypted files
Extracting files from .ZIP:
e:/inetpub/webroot/real_estate_data/smlc/daily_downloads/zip_files/MI20080901_031315_RES_1.zip

I don't have any permission problems with cfzip, cfdirectory, or any other tag
or function.  Typically CF runs under "Local System Account", per its 
installation.

It just seems as if the arguments after the first one, which tells the program 
which
file to unzip, are ignored.  It seems, from the message above, "Decrypting 
Encrypted files",
that the program is accepting my password in the arguments, as well as the info 
about
which file to unzip, but the final argument, what folder to place the extracted 
file in,
is ignored.  Here's the code again.  See any problem?

<cfexecute 
     
name="e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\pkzip25.exe"
     arguments = "-extract
e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\MI20080901_031315_RES_1.zip
                  -password bsz3xuYD
                   
e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files"          
     timeout = "10"
     outputfile =
"e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\extract_log.txt"
 />

Just so you realize, I've broken the arguments line up so that it wouldn't wrap 
and would be easier
to read.  It's all
one line, with a space between the arguments in the actual tag.

Rick






> -----Original Message-----
> From: Josh Nathanson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2008 7:05 PM
> To: CF-Talk
> Subject: Re: How can I unzip a password-protected zip file with cfzip?
> 
> >> Good guess, but no, I don't think permission is an issue.
> >> I can do all the extractions manually.
> 
> Are you sure the user is the same when you are doing it manually, and when
> the script does it?
> 
> When ColdFusion is running cfexecute, I think it sees "Coldfusion" as the
> user -- when you are doing it manually, it probably sees you as the user.
> I'm not an expert in this type of stuff, but whenever something isn't
> written to a folder as it should be, it's very often a permissions issue.
> 
> -- Josh



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311957
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to