It seems to me that these should be replaced with a "allow extraction" set of filetypes, instead of continually white-listing stuff based on what you use.

IsDAV() and IsSFTP() are used for this purpose and this purpose only, right?