title: Creating directory in FTP
body: <p>i am using the following piece of code to create a directory.
  The problem is that i do not get an error, but i do not also find the directory i justt created.</p>
  
  <p>So, what am i doing wrong here? Should i take a break?</p>
  
  <pre><code> Public Function CreateDirectory(ByVal Dir As String) As Boolean
          Dim myftprequest As Net.FtpWebRequest = CType(FtpWebRequest.Create(FTPSite + Dir), FtpWebRequest)
          myftprequest.Credentials = New NetworkCredential(UserName, Password)
          myftprequest.Method = WebRequestMethods.Ftp.MakeDirectory
          Return True
      End Function
  </code></pre>