title: failed to connect to FTP server from batch script
body: <p>I can connect successfully to my ftp server from cmd but when i execute the .bat script to connect to ftp server it gives me: </p>
  
  <pre><code>503 Login authentication failed identification failure.
  </code></pre>
  
  <p>I'm sure my password and username are correct so could be any other reason that gives that error?
  My .bat script is:</p>
  
  <pre><code>ftp -s:ftp.txt
  </code></pre>
  
  <p>And my ftp.txt file is:</p>
  
  <pre><code>open ftpserver
  username  
  password
  cd C:\backups
  lcd C:\backups
  put C:\backups\bk.backup 
  bye
  </code></pre>
  
  <p>Thanks in advance:)</p>