- Clone this repo
- Run
ant
in the cloned repo directory - The built jar file should be at build/libs/BoxIO-(version).jar
BoxIO can be used in 2 scenarios
- LISTEN
- UPLOAD
java -jar BoxIO.jar <properties file> listen <file count>
- properties file - File consisting of the necessary keys
- file count - Number of files to downloads before quitting
java -jar BoxIO.jar <properties file> upload <file 1> <file 2> ....<file N>
- properties file - File consisting of the necessary keys
- file * - Files to be uploaded
Note: When running multiple instances of BoxIO at once, use separate jar files to avoid ConcurrentModificationException
Keys required in the properties file are
client_id
client_secret
private_key (base64 encoded)
private_key_password
user_id
public_key_id
folder_id