Sign in | Join
Last post 07-04-2009 12:26 AM by nmreddy83. 1 replies.
Sort Posts: Oldest to newest Newest to oldest
Anyone know a way to delete a folder and all its contents on an ftp server? I am able to create folders using the ftpwebrequest object but I don't see a delete function to it. I'm trying not to run console commands from c#.net. Thank you.
Cykill,
there is no direct way to delete folder from FtpWebRequest.
It does not support delting Folders.
you can do it using alterntaive way.. follow the link
http://www.dotnetfunda.com/articles/article125.aspx