Skip to content

C# Functionality for Interacting with an S3 Bucket, as part of a Camera Video Files system.

Notifications You must be signed in to change notification settings

mikeirvingweb/S3BucketExperiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Bucket Experiments in C#

📹 C# Functionality for performing various S3 Bucket Functions and downloading their recording files.

Created alongside the Camera Experiments repo.

How to use

✏️ Modify Program.cs to suit your setup.

bucketName - your bucket name.
uploadFolder - a folder within your bucket.
localFilePath - where your local fiels reside.

🎯 Call any of the contained functions:
Files.UploadAllFilesInFolder - Upload Files in a Folder.
Files.UploadAllFilesInAllFolders - Traverses sub folders.
Files.CreateFileListAsJSON - Create a JSON File List.
S3.UploadObjectFromFileAsync - Upload from a File.
S3.UploadObjectFromStringAsync - Create a file from a string.
S3.ListingObjectsAsync - List Objects in Bucket or Folder.
S3.CopyObjectAsync - Copy an Object.
S3.DeleteObjectAsync - Delete an Object.
S3.MoveObjectAsync - Copy then Delete an Object.

🪟 Windows

To execute, simply run S3BucketExperiments.exe.

🐧 Linux

To run, you will need AWS Credentials in place, i.e. in ~/.aws/credentials

You will need to add execute permissions on the the main executable.

chmod +x S3BucketExperiments

Then to execute, run:

sudo ./S3BucketExperiments

Contributions

🍴 Feel free to Fork / Branch / Modify, raise any Pull Requests for changes.

Further reading

🦔 Built as part of .NET, IoT and Hedgehogs!

About

C# Functionality for Interacting with an S3 Bucket, as part of a Camera Video Files system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages