The immediate challenge with ftpGet() is that it returns a single file. The FTP command syntax is "get" for a single file or "mget" for wildcard returns.

You might want to try and change the following
 Code:
  if $sUser
    $oFTP.Open("GET", $sURL, not 1, $sUser, $sPass)
  else
    $oFTP.Open("GET", $sURL, not 1)
  endif
to put an "M" in front of each "GET". The result will be to pull down all of the XML files.

Unless there's a mechanism to later remove the files from the FTP server, you'll keep pulling the same files over and over again, along with any new ones.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D