Closed mmkowal-rel closed 3 years ago
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
:x: mmkowal-rel sign now
You have signed the CLA already but the status is still pending? Let us recheck it.
Exposed IsPathValidAsync callback through the TransferContext so customer I able to inject own code to perform validation. Given callback is executed by SyncTransferController which is responsible for processing each chunk of file being transferred. Given callback is executed only when set. When it is null no execution it means that no validation at all Only source path is being validated. When IsPathValidAsync returns true given chunk of data is being processed otherwise TransferInvalidPathException is thrown and additionally total number of skipped files is incremented. Given path is reported through FileSkipped event