I use the cffile action="upload" to upload a file to the server. The server has
virus checking set on all file writes (McAfee Antivirus in this case). If a
virus is found, the file is deleted.
So the sequence is
- upload file
- check cffile upload status parameters for successful upload
- ensure file was not deleted due to viral content
At what point does the cffile.filewassaved parameter get 'set'. Before or
after the anti-virus check? Does the write process include the process of virus
checking the file?
upload, write file, set cffile.filewassaved = yes, DeleteFileIfVirus
upload file, DeleteFileIfVirus, NoFileWrite, so set cffile.filewassaved=no