3.1.5 - Set Remote Files

      Action Option -SR (-SetRemoteFile) (Aliass: -SetRemote) :

      creates and modifies update information of remote files into RDADB for given dataset and local file(s). One or multiple remote files can be processed each time.

      dsupdt[-(DS|Dataset)] dsnnn.n -(SR|SetRemoteFile) [Mode Option]
        -(LI|LocalIndex) LocalFileIndices
        -(RF|RemoteFile) RemoteFileNames
        [-(DO|DownloadOrder) DownloadOrderIndecies]
        [-(DC|DownloadCommand) DownloadCommand]
        [-(SF|ServerFile) FileNamesOnRemoteServer]
        [-(BT|BeginTime) BeginningDay/Hour]
        [-(ET|EndTime) EndingDay/Hour]
        [-(TI|TimeInterval) TimeInterval]
        [-(DB|Debug) DebugModeInfo]

      Mode option that can be specified for this action include:

      Set update information of remote files only when they are needed. For simple situation that remote and local file names are identical, information of the local file record is enough to process data update. A remote file update record is only required if the remote file is different from local file, including situations that multiple remote files are downloaded and tarred for a single local file, or a single remote file may be available from multiple servers.

      Local file indices and remote file names must be provided per options -LI (-LocalIndex) and -RF (-RemoteFile), respectively, for this action to work.

      If a download command is specified per Info option -DC (-DownloadCommand) in the remote file record, it is used for downloading remote file rather than the one specified in the local file record.

      Set file name on the remote server per Info option -SF (-ServerFile) if it is different from the remote file name. If a server file name is not set for a remote file record, it is assumed to be the same as the remote file name.

      Data files downloaded remotely or generated via local processes are temporarily staged on a local disk. They are called remote files until they are further validated and converted into local files.

      Set download order indices per Info option -DO (-DownloadOrder) if a remote file is accessible from multiple remote servers. Remote file download action tries the web server with the lowest download index first; and, if fails, it tries the other servers with higher indices until successful download.



      Back to Top
      -(MD|MyDataset)sets information into RDADB no matter the specialist who runs 'dsupdt' owns the dataset or not