我有以下代码:
我需要处理由
WebRequest request = WebRequest.Create("ftp://myServer/myDirectory");
request.Method = WebRequestMethods.Ftp.MakeDirectory;
request.Credentials = new NetworkCredential("userName", "password");
request.GetResponse();
我需要处理由
WebRequest
返回的WebResponse
对象吗?