NetTalk Central

Author Topic: Another nt6 Upload button question  (Read 3777 times)

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Another nt6 Upload button question
« 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
Real programmers use copy con newapp.exe

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Another nt6 Upload button question
« Reply #1 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Another nt6 Upload button question
« Reply #2 on: February 14, 2013, 10:06:33 PM »
indeed.

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: Another nt6 Upload button question
« Reply #3 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
Real programmers use copy con newapp.exe