Who still uses cf 11 in production? And if so, how...
# cfml-general
f
Who still uses cf 11 in production? And if so, how is the s3 support?
m
ColdFusion 11 is long past end-of-life. I highly recommend updating to a modern, supported version. As of CF2016, we have added native support for a multitude of cloud features, including S3. Currently supported versions which include these features are CF2018 and CF2021 (CF2023 is coming early next year). You can read more about S3 native hooks & support in CF here: https://helpx.adobe.com/coldfusion/using/integrate-coldfusion-amazon-s3.html
f
unfortunately I have no say in my employers upgrading choices. I heard it took a long time to even get CF! They're lawyers after all 🙂
m
hehe oh I hear ya. As lawyers though, I'd think they'd want to stay compliant in terms of security. If you'd like me to give'em a chat, my door is always open (and I'm somewhat entertaining, so hopefully their time won't be wasted lol). To answer your question, I think you can hit S3 with older versions of CF using external libraries or write your own wrappers, but it all gets a little bit... sticky. S3 is pretty good at being interoperable though. Here is a (admittedly, very old) article from Brian Klaas on the subject: https://brianklaas.net/assets/pdf/CFSummit2014-CFandAWS.pdf
f
thank you, well I'm a consultant for american university college of law, so I'll have to go through the chain. There are so many nginx rewritwe rules to filter through, I opted to use S3 for now, but if that will be a problem, I may have to do dropbox. Any cfdropbox libs becase I don't have access to the cf admin,
m
Not really a library but you should be able to pull stuff from the DropBox API using CFHTTP. Some info here: https://community.adobe.com/t5/coldfusion-discussions/output-binary-data-to-browser-as-file/m-p/731569
(again, apologize for the age of the link, but it should be valid with your version of CF)
f
thank you, sir
m
My pleasure!
e
It's EOL, you should point out the cost of a security breach and then point out the costs of upgrades are far more cost-effective than the liability of said security issues. if that fails, move your code to open source Lucee's ColdFusion engine. In many respects, jts is ahead of the curve in terms of development over AFC. However, its a migration process, it's ultra-rare that you can just plop your code on a lucee box and it just magically all works.
m
Them's fightin words bub! 🤣
j
We have an app on an older version of ACF (I know, I know) and this works well https://github.com/jcberquist/aws-cfml
b
If you use the AWS Java SDK, S3 interaction is great. The AWS Java SDK works seamlessly in CF11. My team used it for years. Examples on how to use the AWS Java SDK here: https://github.com/brianklaas/awsPlaybox