Type Default Value Description
long Dependent on uploaded file. Gets the size in bytes of the uploaded file data.



This is the size of the data held in the field. If the field contains an uploaded file the size is the same as the size of the uploaded file. The size is measured in bytes and will be equal to zero if no data is present.

If the uploaded file was encoded in MacBinary this refers to the length of the data fork only.

This property is equivalent to the HttpPostedFile ContentLength property.


See Also

InputStream property.