I want the code below to ignore files that are empty. Empty in this case means it has no characters or if it has characters then it should be whitespace characters only. The code below is only calling it 'empty' in the former case and not the latter and this results in processing that I do not want.
Could you provide code to replace this.
<cfset size = createObject("java","java.io.File").init(variables.FileNameLocation).length() />
<cfif size gt 0>.....Processing Here......</>