Integrate logscan into the upload.fcgi