Hi,

This is what I have done so far, really rough.

I have extended the Field class and added some extra functions.

I called the class s3upload and I created function within the class
called s3_store and s3_retrieve.
I was just wondering if upon creating these classes. I.E creating the
same functionality as the default store/retrieve will this work out of
the box if i replace in the Field ('photo','s3upload') or is there
other things i need to be looking at ?

This is assuming that all the bugs of uploading and retrieving will be
sorted :)

Regards,

Nils


On Jul 25, 2:10 pm, nils <[email protected]> wrote:
> HI,
>
> Just looking at dal.py and there is a SQLCustomType, I was wondering
> if the functionality i would require could be added via  this class?,
> Would this be the way to go ?
>
> Nils
>
>
>
>
>
>
>
> On Mon, Jul 25, 2011 at 1:04 PM, Nils Olofsson <[email protected]> 
> wrote:
> > Hi all,
>
> >  Before I go off and make an  attempt at creating a S3 upload
> > function, I was just wondering if anyone has a working version ?
>
> > I read the discussion on this and for me I need a way of storing
> > uploaded images on S3 to share between a few  VPS on Amazon's EC2.
>
> > The only other way to accomplish the same thing would be to use rsync,
> > which is not ideal.
>
> > I want to stay within the functionality of web2py SQLforms, maybe by
> > having the field type 'uploadS3' so web2py would know that the file is
> > going to be uploaded to amazons S3 service.
>
> > Is this a good approach ?
>
> > So far I've only used the functionality of web2py, I never had to
> > change or customize it, so any help or pointer would be appreciated.
>
> > Regards,
>
> > Nils

Reply via email to