file upload propblems

Results 1 to 2 of 2

Thread: file upload propblems

  1. #1
    Join Date
    Dec 1969

    Default file upload propblems

    I have a file upload pure asp which works fine. i want to add some secrity to stop people uploading large file and also .exe files any ideas.. i guess which the .exe i could check the file name? how would i do this?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: file upload propblems

    you should have a form field which is the input box of the file name<BR><BR>so just check for <BR><BR>if right(strFileName)=".exe" then .....<BR><BR>for big files read the docs of the pureAsp upload there should be a property for file size and just do a simple IF statement on this too... <BR><BR><BR>

Posting Permissions

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