Different output for fileOpen() between ACF & Lucee 6

Hello,

I’ve just noticed that the response from a fileOpen() call is different between Lucee 6 and ACF 2023.
Specifically the FileSize value includes the word ‘bytes’ in Lucee. I came across this as I have code that passes this value to a function expecting a numeric value.

image
image

That’s an odd one, please file a bug, it’s been like that for over 10 years, since before Lucee was forked from Ralio

I’ve always just used FileInfo() / GetFileInfo() myself

1 Like

https://luceeserver.atlassian.net/browse/LDEV-5414