title: Return stream reader from FTP response is good practice or not
body: <p>I have a method for FTP download file, but I do not save file locally rather I parse the file in memory through ftp response. My question is, is returning stream reader after getting ftp response stream a good practice? Because do not want to do parsing and other stuff in the same method.</p>
  
  <pre><code>var uri = new Uri(string.Format("ftp://{0}/{1}/{2}", "somevalue",     remotefolderpath, remotefilename));
  var request = (FtpWebRequest)FtpWebRequest.Create(uri);
  request.Credentials = new NetworkCredential(userName, password);
  
  request.Method = WebRequestMethods.Ftp.DownloadFile;
  
  var ftpResponse = (FtpWebResponse)request.GetResponse();
  /* Get the FTP Server's Response Stream */
  ftpStream = ftpResponse.GetResponseStream();
  return responseStream = new StreamReader(ftpStream);
  </code></pre>