download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos
How to Generate URL for Amazon s3 file

Generate Web URL :- To be able to share files with your friends, you need some way to make it available publicaly. Bucket Explorer’s “ Generate Web URL ” option helps you in this regard. Bucket Explorer allows you to generate following five basic types of URLs: Click here to know the steps for generating web URL .

1. Http 2. Https 3. Virtual Host URL 4. Torrent URL 5. Signed URL

1 ˆ . Http URL : It is most common and popular format of URL. To generate http url you need toif you attempt to access the URL that is expired, you will only find some error message. You still keep the file in your S3 account and don't have to remove it in order to remove access for others. click ‘HTTP URL' button to get the http:// format.

2 ˆ . Https URL : It is also http url but works over secure socket layer. In other words, https works over secure mechanism. It is useful where user want secure communication of response/request between client servers. Generally it is used with commercial exchange of data. To generate https URL, you need to click on ‘HTTPS URL' button to get the https:// format.

3 ˆ . Use Bucket Name as Virtual Host : By this option, Bucket Explorer replace s3.amazonaws.com with bucket name and construct the URL like your host(website name) URL. But make sure the bucket name should be same as host name ( e.g images.bucketexplorer.com). After generating of Virtual Host url you should use CNAME entry otherwise url will not work.

For example:- http:// mybucket / myobject.ext ,
here mybucket and myobject.ext is represting viz; bucket name and file name with extention.

4 ˆ . Torrent URL : ‘Torrent URL' generates a URL that is in the form of Bit Torrent file. Using this URL, object can be downloaded with a Bit Torrent client application. Since this application fetches data from various sources, it saves both time and bandwidth usage. It also eliminates the dependency from the particular host. To generate the torrent URL you need to click on “Torrent Url” button and you will get the url(s) with " ?torrent " suffix.

For Example : https://mybucket.s3.amazonaws.com/myobject.ext ?torrent

5 ˆ . Signed URL :‘Signed URL' is the url which is valid for specific time period that's why its also know as " Time Limited Signed URL ". Using Bucket Explorer you can set a fixed expiration time for a URL. Upon expiry, the URL will no longer remain active and if you attempt to access the URL once it has been expired, you will only find some error message. You still keep the file in your S3 account and you don't have to remove it from S3 account in order to remove access for others.

The very purpose of signed URL is to share the pages that have time sensitive information, or when you want to share a file with someone without making it available to everyone on the net. Such information becomes stale once a definite time passes out.
To create signed URL, simply

  1. Right click over an object and choose 'Generate Web URL'.
  2. In following window, look for a button with caption as Signed URL.

    Get Public Signed URL menu
  3. Manually Insert or choose expiry date-time in space provided next to the signed url button.

    Get Public Signed URL time
  4. After Inserting date and time, click on the Signed URL button.
  5. The new URL appears in the big box under the button.

    Get Public Signed URL

Steps for generating web URL :


To generate web url for particular file(s)
  1. Select the file(s) for which you want to generate web URL(s).
  2. Right click on it and choose " Generate Web URL " option.
  3. Now it shows the window as shown in above images.
  4. Click one of the following buttons, in which format you want to form your urls.
    1. Http
    2. Https
    3. Use Bucket Name as Virtual Host
    4. Torrent URL and
    5. Signed URL (specify date and time before clicking)
  5. Click on Copy , to copy the selected url or Copy all to copy multiple urls into clipboard.
  6. Click on Quit button to close the "Generate web url" window.
  7. Now the urls are ready in clipboard, use them where ever you want.
Go top

Other options:

  • The Copy All and Copy is used to copy all Urls into clipboard.
  • Help option provides helps and detailed information about url generation.
  • Quit button is used to close the "Generate web url" window.
Go top

By : Tripti Vijayvargia | Posted : October 2007