title: Python TypeError cannot concatenate str and 'xxxxx' objects
body: <p>I am getting the following results when I try to 'get' my remote files. I can print and I know the files are there. Do I need to build the files into a list?</p>
  
  <pre><code>file_list_attr = sftp.listdir_attr()
  for pfile in file_list_attr:
      if DT.datetime.fromtimestamp(pfile.st_mtime) &gt; yesterday:
         # print pfile
         localfile = path + "\\" + pfile
         sftp.get(pfile,localfile) 
  
  
  
  Traceback (most recent call last):
    File "C:\Documents and Settings\tyoffe\Desktop\FTP", line 41, in &lt;module&gt;
  localfile = path + "\\" + pfile
  TypeError: cannot concatenate 'str' and 'SFTPAttributes' objects
  </code></pre>