Posted on: 7/11/2014 4:10:49 PM | Views : 482

Hi there, 
I am using the following code to delete file. Please note that the code is working on my local machine.
Secnario: Website is hosted on "Virtual Server" while the file exist on "Physical server" - it is possible to delete file.
Dim strSourceFilePath As String = TextBox1.Text Label1.Text = strSourceFilePath If (File.Exists(strSourceFilePath)) Then File.Delete(strSourceFilePath) Else Label1.Text = "File doesn't exists" End If Thanks in advance.

Go to the complete details ...