Need to be able to ASCII and engineering files.

By rconring - February 5, 2010

I need to be able to accept proprietary ASCII file uploads. The problem I have is that the file extensions are various so it is impractical to compare the files against a list of allowed extensions. For example, there are files with extensions from .s01 through .s99 also some .txt and .asc files.

Is there a way to allow all but executable files?
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987

Re: [rconring] Need to be able to ASCII and engineering files.

By Dave - February 5, 2010

Maybe you could set a custom upload directory in the field editor and then setup an .htaccess file so that everything in that dir got treated as text/plain regardless of extension?

It might take a bit of experimenting, though.
Dave Edis - Senior Developer
interactivetools.com

Re: [chris] Need to be able to ASCII and engineering files.

By rconring - February 6, 2010

Works great ... Thanks again!
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987