Home All Groups Group Topic Archive Search About
Author
5 Jun 2005 12:05 AM
dl
Hi
I saw an example that we can limit file selection type to image only with
accept="image/*", but how do I limit the selection to only
1. comma separated file (.csv)
2. text file (.txt)

please?!

TIA

--

Author
5 Jun 2005 9:56 AM
dl
Is this a lie or what, even the "image/*" would not work?!  Has anyone ever
get this working?

Show quoteHide quote
<dl> wrote in message news:uucZQJWaFHA.3572@TK2MSFTNGP12.phx.gbl...
> Hi
> I saw an example that we can limit file selection type to image only with
> accept="image/*", but how do I limit the selection to only
> 1. comma separated file (.csv)
> 2. text file (.txt)
>
> please?!
>
> TIA
>
> --
>
>
>
Author
5 Jun 2005 9:09 PM
Martin
just set the selection type to image AND check in ur code 2

Show quoteHide quote
<dl> schreef in bericht news:uucZQJWaFHA.3572@TK2MSFTNGP12.phx.gbl...
> Hi
> I saw an example that we can limit file selection type to image only with
> accept="image/*", but how do I limit the selection to only
> 1. comma separated file (.csv)
> 2. text file (.txt)
>
> please?!
>
> TIA
>
> --
>
>
>
Author
5 Jun 2005 9:18 PM
dl
Any chance for these two types though
1. comma separated file (.csv)
2. text file (.txt)
TIA

Show quoteHide quote
"Martin" <mlkloptn***@kanweghccnet.nl> wrote in message
news:uR6ArLhaFHA.2496@TK2MSFTNGP14.phx.gbl...
> just set the selection type to image AND check in ur code 2
>
> <dl> schreef in bericht news:uucZQJWaFHA.3572@TK2MSFTNGP12.phx.gbl...
> > Hi
> > I saw an example that we can limit file selection type to image only
with
> > accept="image/*", but how do I limit the selection to only
> > 1. comma separated file (.csv)
> > 2. text file (.txt)
> >
> > please?!
> >
> > TIA
> >
> > --
> >
> >
> >
>
>
Author
7 Jun 2005 6:24 PM
Mythran
Show quote Hide quote
<dl> wrote in message news:%23bsSdQhaFHA.2884@tk2msftngp13.phx.gbl...
> Any chance for these two types though
> 1. comma separated file (.csv)
> 2. text file (.txt)
> TIA
>
> "Martin" <mlkloptn***@kanweghccnet.nl> wrote in message
> news:uR6ArLhaFHA.2496@TK2MSFTNGP14.phx.gbl...
>> just set the selection type to image AND check in ur code 2
>>
>> <dl> schreef in bericht news:uucZQJWaFHA.3572@TK2MSFTNGP12.phx.gbl...
>> > Hi
>> > I saw an example that we can limit file selection type to image only
> with
>> > accept="image/*", but how do I limit the selection to only
>> > 1. comma separated file (.csv)
>> > 2. text file (.txt)
>> >
>> > please?!
>> >
>> > TIA
>> >
>> > --

You could try:

accept="text/csv,text/plain"

This should allow only csv and plain-text files to be uploaded (IE: No
binary files)....

HTH,

Mythran
Author
20 Jan 2006 6:38 PM
bugmenot
Ever get this to work? I'm having the same issue.
image/* doesn't seem to do anything.
And I don't understand what is meant by  "just set the selection type to image AND check in ur code " -- bugmenot ------------------------------------------------------------------------ Posted via http://www.mcse.ms ------------------------------------------------------------------------ View this thread: http://www.mcse.ms/message1656124.html