Data to Amazon S3 bucket

Clovertech Forums Cloverleaf Data to Amazon S3 bucket

Tagged: 

  • Creator
    Topic
  • #116960
    Rob Lindsey
    Participant

      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

      • This topic was modified 4 years, 6 months ago by Rob Lindsey.
    Viewing 2 reply threads
    • Author
      Replies
      • #116962
        Charlie Bursell
        Participant
          • #116963
            Rob Lindsey
            Participant

              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>

          • #116983
            Charlie Bursell
            Participant

              Yeah I saw where the license is almost $300 but figured you could get some ideas and use Cloverleaf web functions

            • #117161
              Boris Perov
              Participant

                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…

                • #117335
                  Rob Lindsey
                  Participant

                    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

              Viewing 2 reply threads
              • You must be logged in to reply to this topic.