If IO.Exists(path & FileUploadVideo.FileName) Then
FileUploadVideo.PostedFile.SaveAs(path & FileUploadVideo.FileName + 1)
Else
FileUploadVideo.PostedFile.SaveAs(path & FileUploadVideo.FileName)
End If
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
Open in new window