Validate File

Results 1 to 2 of 2

Thread: Validate File

  1. #1
    Join Date
    Dec 1969

    Default Validate File

    I&#039;m using ASP to upload files but I want to only allow .pdf&#039;s...<BR>How do I do this?

  2. #2
    Join Date
    Dec 1969

    Default RE: Validate File

    Two ways.<BR><BR>1) use javascript on the client side to get the name of the file in the form input and read the characters after the period.<BR><BR>2) See your component&#039;s documentation for getting the original file&#039;s name. Use VBScript to parse that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts