Last post May 12, 2006 10:33 PM by imagemaker
May 12, 2006 04:26 PM|dhague30|LINK
I am adding to the Feedback module to include attachments, and I wanted to integrate the File Upload Extensions in the host settings (i.e. check that the file uploaded is of one of those types) However, I can not for the life of me find where in the DotNetNuke
namespace those extensions exist to check against. I have checked DotNetNuke.Modules.Host.HostSettingsModule for the list, but I don't see anything that looks like it would be the allowable file upload extensions. Thanks for the help in advance.
May 12, 2006 10:33 PM|imagemaker|LINK
Those should be available as a semi-colon or comma delimited string through HostSettings:
CType (Common.Globals.HostSettings("FileExtensions"), String)