Skip to content

Commit

Permalink
Update download-latest-java-tomcat.cfm
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Aug 14, 2024
1 parent b375ddd commit baa7c54
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions download-latest-java-tomcat.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,24 @@
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 );
systemOutput( "#dir# #files.name# #files.size# #files.type# #files.mode#", true );
// 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( fileExists( file ), true );
fileSetAccessMode(file , files.mode );
systemOutput( fileInfo( file ).mode, true );
//systemOutput( file, true );
//systemOutput( fileExists( file ), true );
fileSetAccessMode( file , files.mode );
//systemOutput( fileInfo( file ).mode, true );
}
}
throw "stop!";
}
Expand Down

0 comments on commit baa7c54

Please sign in to comment.