title: FtpWebRequest only return file names with ListDirectoryDetails
body: <p>I found one code very useful, but the following code return the names of directories and files from one FTP server, I need get the only the names of files.</p>
  
  <pre><code>ftpRequest = (FtpWebRequest) FtpWebRequest.Create(host + "/" + directory);
  /* Log in to the FTP Server with the User Name and Password Provided */
  ftpRequest.Credentials = new NetworkCredential(user, pass);
  /* When in doubt, use these options */
  ftpRequest.UseBinary = true;
  ftpRequest.UsePassive = true;
  ftpRequest.KeepAlive = true;
  /* Specify the Type of FTP Request */
  ftpRequest.Method = WebRequestMethods.Ftp.ListDirectory;
  /* Establish Return Communication with the FTP Server */
  ftpResponse = (FtpWebResponse) ftpRequest.GetResponse();
  /* Establish Return Communication with the FTP Server */
  ftpStream = ftpResponse.GetResponseStream();
  /* Get the FTP Server's Response Stream */
  StreamReader ftpReader = new StreamReader(ftpStream);
  /* Store the Raw Response */
  string directoryRaw = null;
  /* Read Each Line of the Response and Append a Pipe to Each Line for Easy Parsing */
  try{
       while (ftpReader.Peek() != -1){
          directoryRaw += ftpReader.ReadLine() + "|";
       }
   }
   catch(Exception ex)
   {
        //Do something
   }
  ...
  ...
  ...
  </code></pre>
  
  <p>I investigate, but <code>WebRequestMethods.Ftp</code> has only <code>ListDirectory</code> and <code>ListDirectoryDetails</code>, both return the names of directories and files :(..</p>
  
  <p>Someone can help me ..</p>
  
  <p>Thanks</p>