Rod, sorry I accidentally took it off line....

Character length would be .. bloody hell...I think I am getting your
drift.....
750files x ( 36 chr pathname + 17 chr filename)
..that's 40k characters!

Here is the call..

<!--- Make up a filelist to zip --->
<cfdirectory
    DIRECTORY="#application.temp_dir##session.mm_username#/#scratchdir#"
    NAME="mydirectory"
    ACTION="list"
    FILTER="*.*" >

<cfset filelist="">

<!--- Turn query into list adding filepath --->
<cfloop query="mydirectory" >
    <cfset filelist = Listappend(filelist,
"#application.temp_dir##session.mm_username#/#scratchdir#/#mydirectory.name#
")>
</cfloop>

<!--- Zip or catch error --->
<cftry>
    <cfx_jcompress
        ACTION="NEW"
        FILEIN="#filelist#"

FILEOUT="#application.temp_dir##session.mm_username#/#scratchdir#/zip/#filen
amer#download.zip" >

      <cfcatch type="any">
           <script>document.all.status.innerHTML = "<font
color='red'>Compression interrupted....</font>";</script>
      </cfcatch>
</cftry>

Cheers
Sean

From: <[EMAIL PROTECTED]>
To: "Sean O'Halloran" <[EMAIL PROTECTED]>
Subject: Re: Server Errors
Date: Friday, 22 July 2005 1:19 PM

So the call to the cfx contains a long list of file names? What character
length is the list? Can you show me the call to the cfx?

> Thanks again Rod,
>
>
> Passing files names: Yes, a delimited list. The chosen files are thrown
> into
> a tmp directory and the list generated from a directory listing. Not
> advisable?
>
> I/O errors: Missing files are usually trapped before hand using the dir
> listing. No locks on the file as they are uniquely copied for each user
> into
> their own tmp dir each time.
>
> I will turn on debug in the cfx, didn't realise it had it! Debugging on
> the
> cfserver doesn't catch anything.
>
> Much appreciate your replies....
>
> Sean



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to