NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ccordes on February 14, 2013, 06:16:32 PM

Title: Another nt6 Upload button question
Post by: ccordes on February 14, 2013, 06:16:32 PM
Is there a way to enforce or restrict file types being uploaded? like the usual file mask - *.jpg; *.png?

Thanks,
chris
Title: Re: Another nt6 Upload button question
Post by: Rob Kolanko on February 14, 2013, 08:29:17 PM
The upload filename variable is not populated until after file is uploaded, then you can validate the extension. This is the case for both NT6 and NT7. I recently aske Bruce about the ablility to validate the file name before the file is uploaded with NT7 file uploader script. He said he would consider it.

Rob
Title: Re: Another nt6 Upload button question
Post by: Bruce on February 14, 2013, 10:06:33 PM
indeed.
Title: Re: Another nt6 Upload button question
Post by: ccordes on February 15, 2013, 08:25:03 AM
Oh well. It says upload a picture. I love to see all the stuff people upload. ugh.
 :-\

Chris