This topic is locked

Restricting types of files that can be attached to a record

8/13/2010 10:41:28 AM
ASPRunnerPro General questions
H
hockee2001 author

Does anyone know how to restrict the type of files that can be attached/linked to a record? I am using an Access database, and I would like to restrict (not allow) attachments with the following extensions .bmp .xls .htm and .txt. I would allow .jpg .doc and .pdf files. Would this be done in the Access Database itself or is this something that is done in ASPRunnerPro using scripts?

Sergey Kornilov admin 8/13/2010

This can be done in ASPRunnerPro.
Here is the article that explains how this can be done:

http://xlinesoft.com/asprunnerpro/docs/check_size_and_extension_of_uploaded_files.htm