download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

How to ignore root folder for Upload and Download

With Bucket Commander you can upload selected file(s) & content of folder(s) to root of specified bucket / virtual folder .
If you are a web admin and want to host your website from amazon s3 , you need to upload site content in s3 bucket and use URLs to access that content from Amazon s3.
Using Bucket Commander you can easily upload that content on Amzon s3.
Suppose you are uploading images of your site on s3 bucket using Bucket Commander, by default it will create a images folder on s3 bucket and all images will be uploded in this folder.
In this case you have to use following URLs to access images :
https://$bucketname$.s3.amazonaws.com/images/a1.png , here $bucketname$ .s3.amazonaws.com its point to S3 bucket on Amazon s3 in which you have uploaded images folder. But if you want all images to be uploaded on the root of your bucket then you need to update commander config file to change the value of tag < IgnoreRootFolderInQueueOperation > to true.

Ignore Root Folder for Upload Operation-

Now if you upload images folder using Bucket Commander then it will not create images folder on the S3 Bucket,all images will be uploaded root of bucket.
In this case you need to use following URLs to access images :
https://$bucketname$.s3.amazonaws.com/a1.png
Next time whenever you want to add new images on s3 ,you can easily sync local folder of images with s3 bucket using Bucket Commander

  1. Open the BucketCommander.xml
  2. Find the <IgnoreRootFolderInQueueOperation> Tag in Xml.
  3. Change its value to True .
  4. Save Confguration file.
  5. Run Bucket Commander with action Upload .
    ex: Bucket Commander.exe -action: upload [-authenticate: $nickname$ ]
  6. Make sure that you have already configured the upload operation.
    For configuring upload-download operation for Bucket commander - Configure Bucket Commander for upload download and copy?
  7. Now Bucket Commander only upload content of specified folder to root of bucket / virtual folder.

Ignore Root Folder for Download Operation-

You can also download   the contents of a virtual folder only from your Amazon S3 account by ignoring the folder. The contents will be downloaded at the configured path.the folder would not be created if <IgnoreRootFolderInQueueOperation> Tag in BucketCommander.Xml is set True .

For Download operation - Run Bucket Commander with following command :
ex: Bucket Commander.exe -action: download [-authenticate: $nickname$ ]

Related Topics: