Upon dealing with an invalid Form on postback (either caused by a custom invalid file upload or another invalid control on the same form), I'm curious as to whether this code will clear uploaded files from memory and the temp directory (for security and resource purposes).
FYI - I have not set an "TargetFolder" or an "TargetPhysicalFolder" property of my RadUpload control (I'm saving to DB). I imagine that files are handled in memory 100% because I have not set these properties. Is this true?
Is this code necessary at all?
Any insight you can provide as to how RadUpload handles clearing uploaded files would be greatly appreciated.
Thanks in Advance,
Paul
FYI - I have not set an "TargetFolder" or an "TargetPhysicalFolder" property of my RadUpload control (I'm saving to DB). I imagine that files are handled in memory 100% because I have not set these properties. Is this true?
RadUpload1.InvalidFiles.Clear(); |
RadUpload1.UploadedFiles.Clear(); |
Is this code necessary at all?
Any insight you can provide as to how RadUpload handles clearing uploaded files would be greatly appreciated.
Thanks in Advance,
Paul