Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikeirvingweb/s3bucketexperiments
C# Functionality for Interacting with an S3 Bucket, as part of a Camera Video Files system.
https://github.com/mikeirvingweb/s3bucketexperiments
Last synced: about 9 hours ago
JSON representation
C# Functionality for Interacting with an S3 Bucket, as part of a Camera Video Files system.
- Host: GitHub
- URL: https://github.com/mikeirvingweb/s3bucketexperiments
- Owner: mikeirvingweb
- Created: 2022-12-01T13:49:07.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-21T09:47:14.000Z (8 months ago)
- Last Synced: 2024-05-01T19:05:53.080Z (7 months ago)
- Language: C#
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# S3 Bucket Experiments in C#
📹 C# Functionality for performing various S3 Bucket Functions and downloading their recording files.Created alongside the [Camera Experiments](https://github.com/mikeirvingweb/CameraExperiments) 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!](https://www.mike-irving.co.uk/web-design-blog/?blogid=122)