Anyone get Lucee to work with AWS mountpoint? Just...
# lucee
a
Anyone get Lucee to work with AWS mountpoint? Just for listing the files in a bucket (assumes ls == cfdirectory)?
g
I have never had a need... So I could be completely wrong... But I would imagine that you could (should) use the AWS extension.
👍 1
a
It's not working for us. 1000+ files in the AVS bucket, zero files from the S3 extension. My (total) guess it that it's using the API's old deprecated listObjects method, which kind of craps out at 1000 files and doesn't seem to use their pagination to get them all. Mountpoint on Linux easily shows them all from the command line. So between the two of us, there's possibly a lot of wrong to be had. 😉
😆 1
g
Right... and sorry for the "seemingly" patronising question... Are you using the latest extension? I ask because I am aware that there was a relatively recent update to it. (perhaps try the latest snapshot - if that's newer than the "release" - as a test) Lastly - for cfdirectory - you're correct. We use it in a couple of places in our code
Copy code
local.d = directoryList(
	path = application.pathUpload,
	sort = "dateLastModified ASC"
);
a
Not terribly patronizing, possibly valid. I know we went up and down through the releases, but I don't know if anyone tried a snapshot (as we're not typically inclined to migrate snapshots to a production environment. Still, it would be nice to know that all we need to do was wait for it to become legitimate).
The curiosity of my original question is still there tho. 🤔
g
Sorry @alholden - Is my code snippet not what you're after? That is the
cfdirectory
function WILL perform a directory listing?
z
come on, don't be lazy, go and try the snapshot yourself in dev????? test the snapshot, report back it's good and solves your issue, then we have feedback
👍 1