title: how to login to ftp from vb script
body: <p>I am trying to login to an FTP server from VB script and execute some commands. </p>
  
  <p>manually we login to ftp server with:</p>
  
  <pre><code>ftp my.server.name
  Enter Uname: _
  Enter Pwd: _
  </code></pre>
  
  <p>uname and pwd are prompts for the user.  How can I do this from VB script?  if there was a way to login to a ftp server by supplying uname and pwd in the same line then I could just execute one line from the VB script. </p>
  
  <p>How can i do this?</p>