Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: AspUpload limit

  1. #1
    New to the CF scene
    Join Date
    May 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question AspUpload limit

    this is the upload...
    how can i limit it by size and file extansions?
    (jpg and gifs 400kb max)

    Code:
    <% 
    Set Upload = Server.CreateObject("Persits.Upload") 
    Upload.IgnoreNoPost = True 
    
    Upload.Save(Server.MapPath("../000/"))
     
    set Upload = Nothing 
    %>

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts


  •  

    Posting Permissions

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