Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
3651 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Upload Validation
ahmada674
over 8 years ago
Dears ,
I have a concern about the validation on the upload documents if i need to specify the type if document that i want the user to upload for example i need the user to upload only .doc and the user change the excel extension to be from .excel to .doc the Appian upload will accept that as a .doc while it's not.
So is there a solution to validate this issue depend on the uploaded file it self with no consideration of the extension name cuz the user can by pass this by change extension.
Thanks and hopefully i can find the answer.
OriginalPostID-241362
Discussion posts and replies are publicly visible
Parents
0
kondetiv
over 8 years ago
you can only decide type of the file based on extension. And one more thing if you change the extension then file type will change. For example if i change .pdf to .docx then file becomes .docx file. I don't think we can detect whether file type is changed or not.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
kondetiv
over 8 years ago
you can only decide type of the file based on extension. And one more thing if you change the extension then file type will change. For example if i change .pdf to .docx then file becomes .docx file. I don't think we can detect whether file type is changed or not.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data