[WebDNA] s3cmd

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110400
interpreted = N
texte = Hi Guys I 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. s3cmd s3cmd is a command line tool for uploading, retrieving and managing data = in Amazon S3. Install s3cmd on your server $ sudo apt-get install s3cmd Create 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 server Sample 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.html http://linux.die.net/man/1/s3cmd Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] s3cmd (Stuart Tremain 2014)
  2. Re: [WebDNA] s3cmd (Stuart Tremain 2014)
  3. Re: [WebDNA] s3cmd (John Butler 2013)
  4. [WebDNA] s3cmd (Stuart Tremain 2013)
Hi Guys I 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. s3cmd s3cmd is a command line tool for uploading, retrieving and managing data = in Amazon S3. Install s3cmd on your server $ sudo apt-get install s3cmd Create 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 server Sample 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.html http://linux.die.net/man/1/s3cmd Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@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:

WebCat2b12plugin - [search] is broken ... not! (1997) relational db question (2002) 2.0 Info (1997) [SearchString] usage (1997) [Sum] function? (1997) Document Contains No Data! (1997) Separate SSL Server (1997) [WebDNA] OSX Lion (2012) webcat- multiple selection in input field (1997) alternate location for cookies (2001) What am I doing wrong? (2000) off topic fetch vs PCS photomaster (1997) Emailer Question (1998) RE: is sku a REQUIRED field on NT (1997) Fwd: Problems with Webcatalog Plug-in (1997) how to use encrypt and searching (1998) Thanks ! (1997) Public beta 2 for WebCatalog 4.0 is now available. (2000) PCS Frames (1997) 2.1.5: Too Many Nested [xxx] (1998)