Deleting a file |
You can delete a file using the DeleteFile method. All filenames are relative to your current remote directory.
Example
[C#]
// delete file named image.gif
myFtp.DeleteFile("image.gif");
[Visual Basic]
' delete file named image.gif
myFtp.DeleteFile("image.gif")
See also