RE: Annoyances with cfencode
Hmmm. So I gather that this behavior is what you see too? You work around it by not asking it to do more than one file at once? A bit odd that after all these years, basic functionality of this tool is so broken. Thanks, Dave Merrill Actually i've never used it, it was just an off the cuff remark... there might be a way to get it to work, maybe ask the rabid guy ;) As for these kinds of tools being broken: the silent command line installer on Unix insists on installing a developer version, even when you put the correct enterprise serial number in. It doesn't get fixed because it affects such a tiny number of people - which is probably the same thing happening here... /t ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232983 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Annoyances with cfencode
Hi folks, No matter what I do, cfencode gives a failure alert when encrypting more than one file at once. Msg is: -- The file you provided could not be encrypted. Make sure that the directory path specified for the OutFile exists, the file is not already encrypted, and the version is correct -- It does that when I run it from a cmd prompt in a directory with just 2 cfm or cfc files, pointing it at *.cfm, *.cfc, or *.cf*, and happens whether /q or /r are used or not. Running under Ant, it also returns a failure code of 1. The files do get encrypted, so it's working; the error msg is just annoying, and makes it hard for an Ant script know if it did actually work. Is that what you see? If not, any idea what might be different about how we're using it? My basic code is: cfencode *.cfm /q /r /v 2 Thanks much, Dave Merrill ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232931 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Annoyances with cfencode
No matter what I do, cfencode gives a failure alert when encrypting more than one file at once. use a shell command with some kind of looping structure: dos: for /R %i in (*.cfm) do cfencode %i [opts] *nix: find . -name *.cfm -exec cfencode [opts] {} \; /t ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232938 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Annoyances with cfencode
Keep in mind that cfencoded templates are easily decoded. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Annoyances with cfencode
No matter what I do, cfencode gives a failure alert when encrypting more than one file at once. use a shell command with some kind of looping structure: dos: for /R %i in (*.cfm) do cfencode %i [opts] *nix: find . -name *.cfm -exec cfencode [opts] {} \; /t Hmmm. So I gather that this behavior is what you see too? You work around it by not asking it to do more than one file at once? A bit odd that after all these years, basic functionality of this tool is so broken. Thanks, Dave Merrill ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232955 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Annoyances with cfencode
I know. As they say, it keeps honest people honest, nothing more. Dave Merrill Keep in mind that cfencoded templates are easily decoded. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232956 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54