Page 1 of 1

[SOLVED] File Type / Restriction

PostPosted: Sat Sep 17, 2011 3:29 pm
by leisyaoron
File Type / Restriction doesn't affect the FLASH/HTML Upload Button. It is the upload tool that can only upload 1 file it doesn't restrict some file types or does not follow the file types that can be downloaded.

Re: File Type / Restriction

PostPosted: Sat Sep 17, 2011 3:42 pm
by SamEA
I do not fully understand you, which upload method doesn't follow by the file types, the plain HTML upload form or the flash upload form?

Re: File Type / Restriction

PostPosted: Mon Sep 19, 2011 10:26 pm
by leisyaoron
SamEA wrote:I do not fully understand you, which upload method doesn't follow by the file types, the plain HTML upload form or the flash upload form?


Oh, I think it's the HTML Upload, the one that can only upload 1 file at a time. It doesn't follow file restriction, for example I set that only .rar and .zip can only be uploaded the Flash Uploader follows it but when I tried it on the HTML upload it is still in wildcard.

Re: File Type / Restriction

PostPosted: Tue Sep 20, 2011 12:35 pm
by SamEA
Please post your URL to where DFH is installed in order to investigate further into your issue, because as far as I know the HTML upload method follows the same rules.

Re: File Type / Restriction

PostPosted: Tue Sep 20, 2011 2:41 pm
by leisyaoron
Take a look:
Image


Image

Re: File Type / Restriction

PostPosted: Tue Sep 20, 2011 3:16 pm
by SamEA
Yes, but if you choose a file type not defined and click upload, PHP will reject it giving the user an error msg.

Re: File Type / Restriction

PostPosted: Wed Sep 21, 2011 7:44 am
by leisyaoron
Oh, I see. I thought they would be able to upload any file type. That's good that they can't because it'll pose a security risk if my restrictions are not met. Thanks!