What\'s an easy way to create a directory on an FTP server using C#?
I figured out how to upload a file to an already existing folder like this:
usi
Something like this:
// remoteUri points out an ftp address ("ftp://server/thefoldertocreate") WebRequest request = WebRequest.Create(remoteUri); request.Method = WebRequestMethods.Ftp.MakeDirectory; WebResponse response = request.GetResponse();
(a bit late. how odd.)