Sub Button1_Click(sender As Object, e As EventArgs)
if FileUpLoad1.HasFile
'Uncomment this line to Save the uploaded file
'FileUpLoad1.SaveAs("C:\SomePhysicalPath" & FileUpLoad1.Filename)
Label1.Text = "Received " & FileUpLoad1.FileName & " Content Type " & FileUpLoad1.PostedFile.ContentType & " Length " & FileUpLoad1.PostedFile.ContentLength
else
Label1.Text = "No uploaded file"
end if
end sub
for video upload use same code above and add follwing line webcofing for large video
Read more...
if FileUpLoad1.HasFile
'Uncomment this line to Save the uploaded file
'FileUpLoad1.SaveAs("C:\SomePhysicalPath" & FileUpLoad1.Filename)
Label1.Text = "Received " & FileUpLoad1.FileName & " Content Type " & FileUpLoad1.PostedFile.ContentType & " Length " & FileUpLoad1.PostedFile.ContentLength
else
Label1.Text = "No uploaded file"
end if
end sub
for video upload use same code above and add follwing line webcofing for large video

