fit-code / MediaStash

ImageStash library helps easily leverage azure and amazon to store media files and adds providers to further enhance the protection of your data.
MIT License
1 stars 1 forks source link

Easier to use repo #8

Open crazygoodcode opened 7 years ago

crazygoodcode commented 7 years ago

After talking to some users we compile a list of items they would like to be able to do.

crazygoodcode commented 7 years ago

Directory upload was released to the nuget packages already.

_mediaRepository.OnDirectoryStash += (n) => { Console.WriteLine($"Total Megs: {n.TotalMegabytes.ToString("f2")} Processed: {n.ProcessedMegabytes.ToString("f2")}"); }; _mediaRepository.StashDirectoryAsync($"{_dirpath}", true).Wait();