Giter Club home page Giter Club logo

amazondownloader's Introduction

This project is a simple downloader that downloads all files from an amazon s3 
bucket and updates a message queue when each file has been downloaded when it 
is invoked via the command line:-

usage: java -jar <name of jar> [options]
 -cdwn,--confirmdownload       Confirm download of objects
 -fq,--failqueue <arg>         Fail queue name
 -h,--help                     Help screen
 -ls,--listobjects             List objects in repository
 -oid,--objectid <arg>         Object ID
 -rid,--repositoryid <arg>     Repository ID
 -s3ak,--s3accesskey <arg>     S3 access key
 -s3sk,--s3secretkey <arg>     S3 secret key
 -sq,--successqueue <arg>      Success queue name
 -sqsak,--sqsaccesskey <arg>   SQS access key
 -sqssk,--sqssecretkey <arg>   SQS secret key
 -wt,--waittime <arg>          Wait time between polling

Your default bucket name, access key and secret access key are defined within
the spring.xml with src/main/resources but can be overriden via the command
line.

The parameters in spring.xml are the following: -

***YOURDEFAULTBUCKETNAME***
***YOURACCESSKEY***
***YOURSECRETACCESSKEY***

Simply replace the above text within spring.xml with the correct values.

You can also replace https://s3-eu-west-1.amazonaws.com within the spring.xml
file with another s3 region url if so required.

The project was built within NetBeans IDE 8.0 and is maven based.

For some reason you will need to do a normal build (Run->Build Project) and then 
select amazondownloader with the project window and double click on 
'assembly single' within the navigator to which create a jar file with all 
dependencies within it (if you select assembly single first it create the jar
file but it doesnt work)...I will figure it out later :)

amazondownloader's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.