Amazon S3 FileBrowserContentProvider

Thread is closed for posting
39 posts, 0 answers
  1. 03FF714A-1D87-480A-B083-96D70C322BF0
    03FF714A-1D87-480A-B083-96D70C322BF0 avatar
    1 posts
    Member since:
    Jul 2014

    Posted 22 Jul 2014 Link to this post

    I am providing a path(existing on Cloud) to the radeditor which is already having some files and folders in it but Radeditor is not displaying the previously present files and folders. what am i doing wrong?
  2. 8CA15202-D40B-4699-863B-C50DCF95D865
    8CA15202-D40B-4699-863B-C50DCF95D865 avatar
    3 posts
    Member since:
    Jan 2013

    Posted 08 Aug 2014 Link to this post

    Just wanted to share an alternative to the Content Provider approach.  Our company did not want to use a provider that is no longer being actively developed or maintained (latest version is from 2009) because it would add risk to our project.

    We installed and tested TNTDrive (http://tntdrive.com/) on our server and it worked extremely well.  It allows you to map an S3 bucket as a network drive.  In IIS, you can then create a virtual directory which your application sees as a local directory. 

    The Telerik controls such as the FileExplorer and RadEditor see these directories as local, so there is no custom code to write - they just work as is.

    Hope this is helpful!
    Bonnie



  3. E0B8B146-EE4E-4C4D-A1D5-BB2E6C929855
    E0B8B146-EE4E-4C4D-A1D5-BB2E6C929855 avatar
    2425 posts
    Member since:
    Apr 2022

    Posted 13 Aug 2014 Link to this post

    Hi Bonnie,

    Thank you for sharing this significant information with us and our community! It might turn to be a really good opportunity to everyone that does not want to implement a custom content provider for accessing Amazon S3 buckets.

    As a small token of gratitude for your efforts I have updated your Telerik points accordingly.

    Regards,
    Vessy
    Telerik
     
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
     
  4. 235770C0-E702-4E2E-8639-7899E021587A
    235770C0-E702-4E2E-8639-7899E021587A avatar
    15 posts
    Member since:
    Nov 2012

    Posted 19 Jun 2015 Link to this post

    I tried running this code today and I received the message "The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint."

    I setup my access key, secret key, bucket name, and string[] viewPaths = new string[] { "code/" };

    'code' is a valid folder under my bucket.

  5. 235770C0-E702-4E2E-8639-7899E021587A
    235770C0-E702-4E2E-8639-7899E021587A avatar
    15 posts
    Member since:
    Nov 2012

    Posted 19 Jun 2015 in reply to C637AB77-B39A-41B1-8B9A-FAF306FB5F54 Link to this post

    I do not see a reply to Mikes post.  Is there an update to this code based on the new Amazon SDK for .NET?     
  6. 6A1BF0D5-6FFD-433C-915E-06894F47CB2D
    6A1BF0D5-6FFD-433C-915E-06894F47CB2D avatar
    1959 posts
    Member since:
    Apr 2022

    Posted 23 Jun 2015 Link to this post

    Hi Young,

    The code provided here should be considered only as example. When third party API have been updated, changed or removed, the corresponding code using this API should be manually updated as per to the changes.

    I suggest investigating the Amazon SDK for changes and re-implement the code for the code library item. If you are able to handle the situation and verify that updates are needed to the code here, you can provide them and earn some Telerik points as a reward for sharing knowledge with the Telerik community.

    Regards,
    Ianko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. 2F1081D6-4794-49AD-80A9-223539C310C5
    2F1081D6-4794-49AD-80A9-223539C310C5 avatar
    15 posts
    Member since:
    Jun 2009

    Posted 09 Feb 2016 Link to this post

    FYI - I just got this working but had to set the "Server" in both the class and ASHX:

    config.Server = "s3-us-west-1.amazonaws.com";

    One issue: When I upload an image, it uploads and the thumbnail shows properly, but when I double click to open it (or right click and select "Open"), it retrieves the file but shows as binary text. Any ideas on how to fix this?

    Thanks!

    Brian

  8. E0B8B146-EE4E-4C4D-A1D5-BB2E6C929855
    E0B8B146-EE4E-4C4D-A1D5-BB2E6C929855 avatar
    2425 posts
    Member since:
    Apr 2022

    Posted 12 Feb 2016 Link to this post

    Hi Brian,

    Thank you for sharing your solution with us.

    As for the format of the images - this is expected as the images in Amazon are stored in a database-like structure. You can avoid this behavior either by disabling the opening of the files (like done here) or implement direct downloading of the images instead of previewing them as shown here:
    http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/filteranddownloadfiles/defaultcs.aspx

    Regards,
    Vessy
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  9. 969848AD-0EB1-4EF8-803D-ED07A282C897
    969848AD-0EB1-4EF8-803D-ED07A282C897 avatar
    1 posts
    Member since:
    Oct 2016

    Posted 15 Oct 2016 Link to this post

    Hi,

    The link to the file seems to be broken. Any advice on how I can get the s3 content provider?

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.