Checking a file size before actually uploading.

Is there any way with the fileupload control to not have it upload the file
if it's to big? I want to set a 5MB limit but don't want to have the user
upload a 50MB only to be told once it's done that the file is to big.

TIA - Jeff.
Mufasa [ Do, 10 April 2008 19:26 ] [ ID #1939404 ]

Re: Checking a file size before actually uploading.

On Apr 10, 1:26 pm, "Mufasa" <j... [at] nowhere.com> wrote:
> Is there any way with the fileupload control to not have it upload the file
> if it's to big? I want to set a 5MB limit but don't want to have the user
> upload a 50MB only to be told once it's done that the file is to big.
>
> TIA - Jeff.

Activex control or java applet can do it. i think face book uses
applet for uploading photos.
psawant [ Do, 10 April 2008 20:41 ] [ ID #1939407 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » Checking a file size before actually uploading.

Vorheriges Thema: How to raise a server-side event asynchronously?
Nächstes Thema: IE popup: This windows is busy