0

Restricting file formats for fileupload in browse (i.e. before upload)

asked 2009-08-24 07:10:00 +0800

rajivbandi gravatar image rajivbandi flag of India
207

Hi Friends,
I want to know whether there is way to restrict what file formats can be selected for uploading?
I am using ZK 3.6.1.
Thanks in Advance

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-08-25 01:11:38 +0800

iantsai gravatar image iantsai
2755 1

I don't think browser will allow us using server-side javascript to do anything to file system.
So, there's nothing you could know inside the file before it is uploaded.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-08-24 07:10:00 +0800

Seen: 206 times

Last updated: Aug 25 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More