Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Upload in ASP - Check file size before upload

Status
Not open for further replies.

jayraykay

Programmer
Mar 10, 2004
22
US
Hello, I have an upload component that allows user's to upload files to my server via asp.

I would like to limit file size of uploads. Can I do this client side or do I need to upload the file first and then check....

As an alternative to script...Is there a maximum upload size I can set is IIS?

Thanks!
 
If you are using a commercial component then the documentation should tell you how to accomplish this. If it's home grown then you'll need to provide some code so we can identify which object/variable needs to be limited.

As far as a max upload size: It's not the size, it's the script timeout.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top