From 1bb3696c7a354bdda49ab57fe43de062e358e20d Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Tue, 17 Sep 2024 10:39:49 +0200 Subject: [PATCH] debug --- download-latest-java-tomcat.cfm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/download-latest-java-tomcat.cfm b/download-latest-java-tomcat.cfm index 4850e3e..b592302 100644 --- a/download-latest-java-tomcat.cfm +++ b/download-latest-java-tomcat.cfm @@ -69,12 +69,11 @@ var dir =""; var file = ""; - /*systemOutput( dest, true ); + systemOutput( dest, true ); var destFiles = directoryList( path=dest, recurse=false, listinfo="query"); for ( var d in destFiles ) { systemOutput( d, true ); } - */ loop query="files" { dir = mid(files.directory, find( "!", files.directory) + 2 ); @@ -82,7 +81,7 @@ // systemOutput( "#dir# #files.name# #files.size# #files.type# #files.mode#", true ); //if ( files.type == "file" ){ file = arguments.dest & mid( dir, 2 ) & "/" & files.name; - // systemOutput( file, true ); + systemOutput( file, true ); //systemOutput( fileExists( file ), true ); fileSetAccessMode( file , files.mode ); if ( fileInfo( file ).mode != files.mode) {