Skip to content

a simple console application for windows that you can use it to upload files into s3-compatible storage buckets

Notifications You must be signed in to change notification settings

elmdoust/s3compatible-uploader

Repository files navigation

ABOUT

This is a simple console application for windows (any version) that developed using .net 4.7.2 You can use it for uploading file to S3-Compatible storages (AWS or any other S3-Compatible storage providers)

Dependencies

  • .NetFramework 4.7.2
  • AWSSDK.S3
  • Newtonsoft.json
  • DotNetZip.dll

(you can get them from nuget package manager or use the dll assemblies located in bin/release directory)

SETUP AND USE

  • There is a config file (named "config.json") beside the executable file that you should fill it before first use.
  • put your s3 endpointUrl , AccessKey and SecretKey

  • a txt file name for writing event logs

  • and set an array of source directory paths and destination s3 bucket names

note : you should specify the policy of backup process

Set the policy for each directory to "ALL_FILES" or "LAST_CREATED"

"LAST_CREATED" : the application will upload the last created file of every directory path to its related bucket name

"ALL_FILES" : the application will upload the all content of the specified directory to its related bucket name as a zip file

  • set "AutomaticMode" to false if you want to see the steps and results on the console. Otherwise it doesn't prompt user at the begin and the ending of the process

note : You can create a scheduled task (using Windows Task Scheduler or any other tools), to run this app automatically. you can set AutomaticMode to true. in this case app will open, upload and close at the scheduled time automatically.

About

a simple console application for windows that you can use it to upload files into s3-compatible storage buckets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages