Tuesday, August 18, 2009

Get file size of uploaded file

Get file size of uploaded file

Hi..

I have this script to upload files:

"FileUpload1" runat="server">

Protected Sub UploadBtn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAttach.Click

If FileUpLoad1.HasFile Then

FileUpLoad1.SaveAs(strFilePath_Tmp)

End If

End Sub

How can I check the file size before upload?

Thanks.



View Full Details...............................

No comments:

Post a Comment