Jump to content


Photo

Save Files in Amazon S3 / Cloud?

Request Plugin Module

  • Please log in to reply
5 replies to this topic

#1 vanderbreye

vanderbreye

    Newbie

  • Members
  • Pip
  • 4 posts
  • 3

Posted 01 June 2012 - 04:04 AM

Hej!

Has anyone ever tried to save & load the files in / from the S3 instead / beside of the local filesystem ?

by using http://framework.zen...zend.cloud.html it is very esay to implement to save/load:
http://blog.ebene7.c...pper-verwenden/
- but will PW work with it?

By module? Or even better: a plugin that automatically saves/serves any files handled by the backend..

We will now try to build this, but we'll also happy about any thoughts about it!

#2 Marty Walker

Marty Walker

    Sr. Member

  • Members
  • PipPipPipPip
  • 335 posts
  • 155

  • LocationKatoomba, AU

Posted 03 June 2012 - 08:40 PM

Hi vanderbreye,

I'd love to see something like this is PW. I've used one or two add-ons for ExpressionEngine that do similar. Are you, by chance, planning any features that allow users to only have access to the files they've uploaded?

Regards
Marty

#3 Michael Murphy

Michael Murphy

    Distinguished Member

  • Members
  • PipPipPip
  • 92 posts
  • 53

  • LocationBasel, Switzerland

Posted 04 June 2012 - 11:20 AM

Hi vanderbreye,

I like the idea - I've always wanted the ability to use dropbox for site assets, as it would be a much smoother workflow especially when working with others (eg. use a shared folder and eliminate the need to use the web interface to update files).

@diogo mentioned this interesting service a while ago which might be worth investigating

https://www.filepicker.io/

not sure if it works both ways - I think it just gives you a simple interface to the files which would then be uploaded to your server

#4 diogo

diogo

    Hero Member

  • Moderators
  • 2,011 posts
  • 1089

  • LocationPorto, Portugal

Posted 04 June 2012 - 11:28 AM

@diogio mentioned this interesting service a while ago which might be worth investigating


@diogo ;)

#5 vanderbreye

vanderbreye

    Newbie

  • Members
  • Pip
  • 4 posts
  • 3

Posted 05 June 2012 - 06:54 AM

Ok, it is simple to implement the S3 directly in the core upload ;)

BUT: how should i begin to write the module, which binds on the uploadprocess?
It is important to have file+tmp name of all uploded files in it. is there a hook i can use?

a) hook in the uploadprocess and
c) give a global option where to place the files: local / AWS / or both.
B) hook in the output of the images+thumbs (based on options location)
d) hook in the backend thumbnail view to show (based on options location)

#6 ryan

ryan

    Hero Member

  • Administrators
  • 5,780 posts
  • 3125

  • LocationAtlanta, GA

Posted 06 June 2012 - 11:05 AM

Something that is storing images exclusively on another server probably needs to be a different animal from the existing image/file fieldtypes. Rather than trying to hook into functionality there, I would go and create a new fieldtype so you can start fresh. On the other hand, if the goal is to just keep a copy of any files used at the other server, and then replace references to them at runtime (like when output formatting is on or something) then I think that would be more of a scenario where hooks would be useful.





Also tagged with one or more of these keywords: Request, Plugin, Module

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users