infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
Data to Amazon S3 bucket
Rob Lindsey (Clovertech)
Has anyone been able to get the engine or a script using TCL outside the engine to put a data message or data file to an Amazon S3 bucket. I know that there is an S3 tcllib library but my brain is just not wrapping its way around it.
Looking for a small example if anyone is willing to share.
TIA
Rob Lindsey
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Rob:
Would this help?
https://www.example-code.com/tcl/s3.asp
Rob Lindsey (Clovertech)
I will have to dig into a bit more but that example depends upon a DLL to be loaded.
<pre id="exCode"> load ./chilkat.dll
# This example assumes the Chilkat API to have been previously unlocked.
# See
Global Unlock Sample
for sample code.
So it will at least give me an idea.
Thanks
Rob</pre>
Charlie Bursell
Yeah I saw where the license is almost $300 but figured you could get some ideas and use Cloverleaf web functions
Boris Perov
We installed AWS CLI on our CentOS 7 server.
<code>yum install -y awscli</code>
we then call it from a Tcl script...
<code>exec aws s3 cp test.txt s3://bucket-name/directory/</code>
Feel free to reach out if you have any questions...
Rob Lindsey (Clovertech)
Boris,
Thanks for the info. I was not trying to avoid it but not really wanting to install the AWS S3 CLI on the Cloverleaf servers. Did not know how it would interact. So it seems that it is self contained and you have not seen any issues.
I think I am going to go down this route starting tomorrow.
Thanks
Rob