DownloadFiles
EventNames:
DownloadFiles_Restrictions
DownloadFiles_Pre
DownloadFiles_Post
Parameters
Type |
Name |
Description |
---|---|---|
files |
The files which should get / are downloaded. |
|
bool |
successful |
Post: |
Examples:
DownloadFiles_Restrictions:
Register-VaultEvent -EventName DownloadFiles_Restrictions -Action 'RestrictDownloadFiles'
function RestrictDownloadFiles($files) {
#Write event code here
}
DownloadFiles_Pre:
Register-VaultEvent -EventName DownloadFiles_Pre -Action 'PreDownloadFiles'
function PreDownloadFiles($files) {
#Write event code here
}
DownloadFiles_Post:
Register-VaultEvent -EventName DownloadFiles_Post -Action 'PostDownloadFiles'
function PostDownloadFiles($files, $successful) {
#Write event code here
}