File Upload and size limit

Discussion in 'ASP .Net Web Controls' started by Raymond, Sep 5, 2003.

  1. Raymond

    Raymond Guest

    May I ask how can we limit the size of the file uploaded
    by user? I know the default is 4MB. But may I know how can
    I programmically to limit the file size, let's say, 1mb
    before the upload button is pressed?

    I have tried if I upload a file > 4MB, there will be DNS
    error immediately. Cany anyone help?

    THX
     
    Raymond, Sep 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vicky

    file upload size limit

    Vicky, Feb 11, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    527
    Eric Lawrence [MSFT]
    Feb 11, 2004
  2. Antonio.P

    Zope file upload size limit

    Antonio.P, May 19, 2004, in forum: Python
    Replies:
    0
    Views:
    610
    Antonio.P
    May 19, 2004
  3. Joey C.
    Replies:
    7
    Views:
    372
    Joey C.
    Oct 27, 2005
  4. Replies:
    1
    Views:
    1,097
    Victor Bazarov
    Jun 28, 2005
  5. lazyadmin

    ASP File Upload - Limit File Types?

    lazyadmin, Jan 7, 2005, in forum: ASP General
    Replies:
    1
    Views:
    356
    lazyadmin
    Jan 7, 2005
Loading...

Share This Page