You could track the filedownloads if you overwrite the fileNameHrefValue attribute and redirect the user to an download XPage which logs the file access.
<xp:fileDownload
rows="30"
id="fileDownload1"
displayLastModified="false"
value="#{document1.Body}"
allowDelete="true">
<xp:this.fileNameHrefValue>
<![CDATA[#{javascript:
var fName = this.getFileId();
var docUNID = document1.getDocument().getUniversalID();
var path = "http://www.example.com/yourdb.nsf/download.xsp";
path + "?documentId=" + docUNID + "&fileName=" + fName & "&fieldName=Body";
}]]>
</xp:this.fileNameHrefValue>
</xp:fileDownload>
The parameter fieldName of the generated URL must match the field the fileDownloadComponent is bound to.
The download.xsp then just have to do another redirect:
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.data>
<xp:dominoDocument var="documentFile"></xp:dominoDocument>
<xp:dominoDocument
var="documentLog"
ignoreRequestParams="true">
</xp:dominoDocument>
</xp:this.data>
<xp:this.beforeRenderResponse>
<![CDATA[#{javascript:
var dbPath = documentFile.getParentDatabase().getFilePath();
var url = "http://www.example.com/";
url += dbPath;
url += "/xsp/.ibmmodres/domino/OpenAttachment/";
url += dbPath + "/";
url += documentFile.getDocument().getUniversalID();
url += "/" + param.get("fieldName") + "/";
url += param.get("fileName");
facesContext.getExternalContext().redirect( url );
facesContext.responseComplete();
documentLog.setValue("User", session.getUserName() );
documentLog.setValue("FileName", param.get("fileName") );
documentLog.save();
}]]>
</xp:this.beforeRenderResponse>
</xp:view>
EDIT:
And here you can find a way to manipulate the the delete function of a filedownload control:
Auto-save doc after delete of attachment in File Download control?