开发者

Pass a Directory Query to <cfzip>?

I need to zip files from a directory, but not all the files in the directory. I determine the files that need to be zipped by running a query on the directory listing.

Currently, I'm looping over the query results to add each file to the archi开发者_如何学Cve individually, but this can take a while in a large directory.

Is there any way to do this outside of a loop? I couldn't find anything in the CF docs that would indicate that you can pass some sort of list to cfzip.


Unfortunately, no. You can pass it an entire directory to zip up, but not a query of files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜