title: Python :raise error_perm, resp ftplib.error_perm: 500?
body: <p>i'm trying to Copy my file from c:\test to my FTP folder ; This is my code :</p>
  
  <pre><code>import ftplib
  import socket
  Name = socket.gethostname()
  filename = Name +".csv"
  ftp = ftplib.FTP('xxxxxxxxxxxxxxxxxx')
  ftp.login('xxxxxx','xxxxxxxx')
  ftp.cwd('test')
  filematch = "C:\\test\\" + Name + ".csv"
  filetocopy = open(filematch,'r')
  ftp.storlines('STOR' +filename , filetocopy)
  </code></pre>
  
  <p>but i'm running into an Error :</p>
  
  <pre><code>    raise error_perm, resp
  ftplib.error_perm: 500 ?
  </code></pre>