;; MyVMS is a Managed Site defined in the Configurator FTPLOGON "MyVMS" IFERROR RETURN :find_site_file FTPGETFILE "*" IFERROR RETURN $ERROR_SUCCESS SET local_file_name = %sitefile SETSUBSTR version = %sitefile ";" IFNUM= version 0 GOTO download_file SETEXTRACT local_file_name = %sitefile ";" 1 :download_file RCVFILE %sitefile /as local_file_name IFERROR RETURN goto find_site_file