ASPPowUpload 1.0 control documentation

Gets the size in bytes of an uploaded file.

public�long�ContentLength�{get;}

Property Value

The length of the file.

Remarks

Returns zero if the file has no content or a user didn't selected a file to upload in the Form. To determine whether a file was selected or not use the ClientFilePath property (an empty string indicates the user didn't selected a file).