title: ftp batch file log data to txt
body: <p>me again :P
  I have some problems with some bat file, that bat file , connects to and ftp and download all files from a remote folder, then delete it, but my problem/question is: i need a txt(log) of every file before download it from the remote server, here is my file</p>
  
  <p>bat file:</p>
  
  <pre><code>ftp -i -s:ftpfile.txt site.com
  </code></pre>
  
  <p>txt file</p>
  
  <pre><code>user-name
  user-pass
  lcd c:\localfolder\some\folder
  cd remotefolder-name
  mget . 
  mdelete \\remotefolder-name\ .
  quit
  </code></pre>
  
  <p>If i use the >>mylog.txt on this line:</p>
  
  <pre><code>ftp -i -s:ftpfile.txt site.com&gt;&gt;mylog.txt
  </code></pre>
  
  <p>I get some extra data that i dont want to. I just need the file names before download it, something like this:</p>
  
  <p>log.txt</p>
  
  <pre><code>file001x.xml
  filedfx.xml
  file023x.xml
  filed33x.xml
  </code></pre>
  
  <p>Ps:sorry for my english ;)</p>