Re: [Openstack] need help on swift and python

2012-07-04 Thread Yogesh Bansal
? Thanks & Regards Yogesh Bansal -Original Message- From: Chmouel Boudjnah [mailto:chmo...@chmouel.com] Sent: 27 June 2012 AM 1:50 To: Christophe Le Guern Cc: Yogesh Bansal; openstack@lists.launchpad.net Subject: Re: [Openstack] need help on swift and python Yogesh, a couple of years

Re: [Openstack] need help on swift and python

2012-06-27 Thread Yogesh Bansal
sage- From: Chmouel Boudjnah [mailto:chmo...@chmouel.com] Sent: 27 June 2012 AM 1:50 To: Christophe Le Guern Cc: Yogesh Bansal; openstack@lists.launchpad.net Subject: Re: [Openstack] need help on swift and python Yogesh, a couple of years ago I wrote some simple cloudfiles functions that uses py

Re: [Openstack] need help on swift and python

2012-06-27 Thread Chmouel Boudjnah
Yogesh, a couple of years ago I wrote some simple cloudfiles functions that uses python-cloudfiles to do some common task which you may want to look at to see how it's done, available here : https://github.com/chmouel/cloud-files-helper Chmouel On Tue, Jun 26, 2012 at 8:31 AM, Christophe Le Gue

Re: [Openstack] need help on swift and python

2012-06-25 Thread Christophe Le Guern
Hi Yogesh, Here is an example using swauth middleware and swift: ** from cloudfiles.connection import Connection conn = Connection("account:user", "password", authurl="https://SWIFT-URL/auth/v1.0";) container = conn.create_container("mycontainer") obj = container.cr

[Openstack] need help on swift and python

2012-06-25 Thread Yogesh Bansal
Hi, I want to upload a file or image on swift object storage server. I can do it using curl command. But I am not able to do it using python apis. I am using Django and python to make web based application, which required to store file from client to swift object storage server. Is there any s