I'm still working with version 4.2. Now i've to enable file uploads (e.g. for pdfs) There is no option to enable pdf upload, so i've changed the filepost.asp like this:
Function ValidFileName(str_FileName)
Set RegularExpressionObject = New RegExp
With RegularExpressionObject
.Pattern = "^\w+\.(gif|jpg|jpeg|png|pdf|txt)$"
.
Before this change, I always got the error message: file name not supported! After this the upload works fine, but all files are corrupted. The file size is 0Kb and the files can't be displayed. Do you have a solution for this (old) problem? Thanks for your help! Ralph