title: Using variables in ftp connection by cmd
body: <p>How I can use variables in ftp?
  This is what have i done:
  file a.bat:</p>
  
  <p><code>set file=test
  ftp -s:b.txt IP</code></p>
  
  <p>file b.txt</p>
  
  <p><code>user
  password
  get %file%
  quit</code></p>
  
  <p>And log shows that there isn't any %file%.</p>