Keyur Parekh
Keyur Parekh

Reputation: 31

RemoveDirectory contents from FTP server in C#

How to delete the directory with sub directory and contents from FTP server in C#?

Thanks,

Upvotes: 2

Views: 361

Answers (1)

Giorgi
Giorgi

Reputation: 30883

You cannot do it with single command. You need to write a recursive method which first deletes subfolders and files.

Upvotes: 3

Related Questions