title: Vbscript logging into ftp
body: <p>I am attempting to log into ftp host and download files.  I am not sure how to locate the file as it is stored in directories under the date and will change every day. this is what I have so far</p>
  
  <pre><code>Option Explicit
  Dim objFSO, objMyFile, objShell, strFTPScriptFileName, strFilePut
  Dim strLocalFolderName, strFTPServerName, strLoginID
  Dim strPassword, strFTPServerFolder
  
  
  strLocalFolderName = "c:\foldername"
  strFTPServerName = "ftp.host.com"
  strLoginID = "somelogin"
  strPassword = "password8"
  </code></pre>
  
  <p>so after the password how would I log into the date file and locate so for example the file would be under</p>
  
  <p>20130722/filename.ftp</p>