JohnSundell / Files

A nicer way to handle files & folders in Swift
MIT License
2.53k stars 182 forks source link

Possibility obtaining bytesWritten/totalBytesInFile #85

Closed tresrrr closed 4 years ago

tresrrr commented 5 years ago

First of all thanks for a great job like "Files";

It would be great to obtain bytesWritten/totalBytesInFile. This way it would be possible to control the traffic and implement progressIndicators or some other visual progress help.

Thanks for all.

JohnSundell commented 4 years ago

Files is mainly aimed towards scripts and command line tools, so it performs all of its work synchronously - so it's probably not a good fit if you want to asynchronously write large files and show a progress indicator while that's happening.