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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get file size prior to upload

Status
Not open for further replies.

ktucci

Programmer
Joined
Apr 23, 2001
Messages
146
Location
US
does anyone know of a way to get the file size prior to an upload using cffile...i currently get the file size after the upload and then take appropiate actions depending on the size but the problem is by that time it is to late...i need to stop a user before the upload takes place

thanks in advance
 
Although I havent tried it myself I read somewhere that you could possibly use javascript and a hidden frame - I think it was geared more towards checking images before they were uploaded by creating an image object from a form field.

Just a thought.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top