XUpload - file types

Message
Author
caven
Posts: 2
Joined: Oct 27, 2008 1:57 pm

file types

#1 Postby caven » Jun 18, 2009 4:06 am

Is there a way to set the script so that when a user presses the Browse button it will only show a list of files with a certain extension?

Meaning if I press Browse and my website only allows jpg files that it will filter for only jpg files.

I know it filters once I hit "ok" but this is different...

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

Re: file types

#2 Postby admin » Jun 19, 2009 4:26 am

caven wrote:Is there a way to set the script so that when a user presses the Browse button it will only show a list of files with a certain extension?

Meaning if I press Browse and my website only allows jpg files that it will filter for only jpg files.

I know it filters once I hit "ok" but this is different...
As we know - there's no way to control standard windows file selection box using html/javascript.