Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robin Hjelmeir 24 posts 85 karma points
    Oct 09, 2013 @ 21:17
    Robin Hjelmeir
    0

    Way to not save a local copy of media files?

    Is there a way to prevent the local copy of the media files? I only want to have my media files saved/viewable from/on amazon, nothing on my local file system.

    The reason this is needed: our site will be load balanced by amazon, so I don't want to be paying double/triple for all these media files when they will exist on S3.

    Thanks,

    Robin

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Oct 09, 2013 @ 21:37
    Ali Sheikh Taheri
    0

    Hi Robin,

    The current version of the package does not support that feature.

    All the media files are first saved on the server then transferred to Amazon S3.

    The next version of the package will support that feature but it is still in development phase.

    In the meantime you check this package by Steve Temple, I've not tried that package.

    Thanks

    Ali

  • Robin Hjelmeir 24 posts 85 karma points
    Oct 10, 2013 @ 17:32
    Robin Hjelmeir
    0

    Hi Ali,

    The package you suggested says it doesn't work on my version of umbraco. I will test it anyway. 

    Do you have a time frame for when your next version will come out? And if you would like, we can offer assistance with development.

    We really need something soon.

    Thanks again,

    Robin

  • Steve Temple 63 posts 324 karma points MVP 3x c-trib
    Oct 10, 2013 @ 17:47
    Steve Temple
    0

    Hi,

    I've just replied to your email, but for future viewers of this thread, my package will only work on Umbraco 6.1.2 upwards, as that was when my pull request was added to allow the editor to support full URLs which is required if the url is on S3

    Cheers,

    Steve

  • Robin Hjelmeir 24 posts 85 karma points
    Oct 10, 2013 @ 17:51
    Robin Hjelmeir
    0

    Hi Steve,

    So if I download the package file from the umbraco site (http://our.umbraco.org/projects/website-utilities/amazon-s3-media) this is the one that will work on 6.1.2+. I don't need to download from bitbucket? (sorry for stupid question)

    -Robin

  • Steve Temple 63 posts 324 karma points MVP 3x c-trib
    Oct 10, 2013 @ 17:56
    Steve Temple
    0

    Sure you can just download the package, and install it from our.umbraco.org, you don't need to compile from source,

    Follow the readme:

    This replaces the local file system provider for media with one that saves the files on Amazon S3.

    For this to work you will need to make the following change in ~/config/FileSystemProviders.config

    1. Remove the existing provider with the alias = "media"
    2. Add the following:

    <Provider alias="media" type="Gibe.Umbraco.AmazonFileSystemProvider.AmazonS3Provider, Gibe.Umbraco.AmazonFileSystemProvider">
      <Parameters>
        <add key="accessKeyId" value="** YOUR AWS ACCESS KEY HERE **" />
        <add key="secretAccessKey" value="** YOUR AWS SECRET ACCESS KEY HERE **" />
        <add key="bucketName" value="** YOUR BUCKET NAME HERE **" />
        <add key="region" value="eu-west-1" />
      </Parameters>
    </Provider>

     

    Let me know if you have any problems,

    Steve

  • Robin Hjelmeir 24 posts 85 karma points
    Oct 10, 2013 @ 18:02
    Robin Hjelmeir
    0

    For Steve (do you have a separate thread I can post too?)

    - edited to remove error code- so not to cludder poor Ali's thread.

    Thanks Ali for your patience :)

  • Robin Hjelmeir 24 posts 85 karma points
    Oct 10, 2013 @ 18:08
    Robin Hjelmeir
    0

    For Steve,

    And there are more issues. So I will email you the rest.

     

    Thanks,

    Robin

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Oct 10, 2013 @ 18:09
    Ali Sheikh Taheri
    0

    Steve I would suggest to open a discussion under your package.

    Thanks

    Ali

  • Gonçalo Chaves 14 posts 146 karma points
    Aug 31, 2017 @ 19:39
    Gonçalo Chaves
    0

    Hi Ali Sheikh,

    Do you mind if our team make some changes and contribute to your package code?

    We're looking to develop the delete feature after the upload has been succeeded.

    Regards and thanks for the package :)

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Apr 17, 2018 @ 20:59
    Ali Sheikh Taheri
    0

    Hi Goncalo,

    It's totally fine, you can contribute to this package here on my Github https://github.com/AliSheikhTaheri/AST-Amazon-S3

    Thanks

    Ali

Please Sign in or register to post replies

Write your reply to:

Draft