[WebDNA] s3cmd
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110400
interpreted = N
texte = Hi GuysI have been setting up some new servers and creating systems for a =couple of new clients. One wanted to use amazon to store images but =needed the images to go through an Imagemagick script and other stuff in =the website administration system.The task was how to process the images in the admin and then send them =to amazon, using Ubuntu 12.04 server here is the solution.s3cmds3cmd is a command line tool for uploading, retrieving and managing data =in Amazon S3.Install s3cmd on your server$ sudo apt-get install s3cmdCreate your .s3cfg file and then move it to the WebCatalogEngine =directory so that you can refer to and change it easily. Make sure the =file has correct permissions 0777 owner & group =3D www-data. Refering =to the config files gives you the ability to have different setups for =different sites/situations on the one serverSample code to 'put' files into your amazon bucket and ensure that the =files are public:[shell]s3cmd put --acl-public /var/www/(local directory)/(File name to =upload) s3://(s3 container name)/(filename)/ =--config=3D"/usr/lib/cgi-bin/WebCatalogEngine/.s3cfg"[/shell]Some links:http://s3tools.org/s3cmd=http://www.whiteboardcoder.com/2012/11/reading-s3-via-s3cmd-from-ubuntu-12=04.htmlhttp://linux.die.net/man/1/s3cmdRegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au
Associated Messages, from the most recent to the oldest:
Hi GuysI have been setting up some new servers and creating systems for a =couple of new clients. One wanted to use amazon to store images but =needed the images to go through an Imagemagick script and other stuff in =the website administration system.The task was how to process the images in the admin and then send them =to amazon, using Ubuntu 12.04 server here is the solution.s3cmds3cmd is a command line tool for uploading, retrieving and managing data =in Amazon S3.Install s3cmd on your server$ sudo apt-get install s3cmdCreate your .s3cfg file and then move it to the WebCatalogEngine =directory so that you can refer to and change it easily. Make sure the =file has correct permissions 0777 owner & group =3D www-data. Refering =to the config files gives you the ability to have different setups for =different sites/situations on the one serverSample code to 'put' files into your amazon bucket and ensure that the =files are public:
[shell]s3cmd put --acl-public /var/www/(local directory)/(File name to =upload) s3://(s3 container name)/(filename)/ =--config=3D"/usr/lib/cgi-bin/WebCatalogEngine/.s3cfg"[/shell]Some links:http://s3tools.org/s3cmd=http://www.whiteboardcoder.com/2012/11/reading-s3-via-s3cmd-from-ubuntu-12=04.htmlhttp://linux.die.net/man/1/s3cmdRegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au
Stuart Tremain
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Emailer problems addition (1999)
emailer suddenly stops (1998)
WebDNA vs SQL ? (2002)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
different show next (1997)
Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003)
Free WebDNA snippets (Extending WebCatalog) (1997)
Expert tech support -- a fast and simple solution (long) ... (2000)
sorted cart? (1998)
Xserve Recommendations (2003)
WebCatalog + Linux + ODBC + Oracle ! ? (2000)
More Cookies (2002)
Goofy Date Sorting (1998)
More NT encyption!! (1999)
Cart ID (1999)
Help formatting search results w/ table (1997)
Spawning Holdup? (2000)
WebCat hosting providers? - one more option (1997)
Options for http uploading of files (1999)
Looking For WebCatalog Migration Assistance (2003)