c# - Is there anyway to replace something in the HttpPostedFileWrapper filename in all of my project in mvc? -


i have many actions used httppostedfilewrapper, want change space " " dash "-" in of filenames before call httppostedfilewrapper.filename,
can 1 one in of actions many,
there way change on somewhere else? in onactionexecuting in filters example,

note override not solution because have change name of input type in actions again.

in fact, in wrong way because httppostedfilewrapper.filename readonly , can not change it!


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -