.. _section3.3.2: 3.3.2 - Download Remote Files ================================= .. _DR: Action Option -**DR** (-**DownloadRemote**) (Alias: -**DownloadRemoteFile**) : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Alias: -DownloadRemoteFile) downloads or copies server files to local working disk, or generates new data files via local processing. The resulting files are called remote files; they are later validated and converted to local files by :ref:`-BL ` (-BuildLocal). | **dsupdt** [[:ref:`-(DS|Dataset) `] dNNNNNN] -(DR|DownloadRemote) [:ref:`Mode Options `] | [:ref:`-(CI|ControlIndex) ` UpdateControlIndex] | [:ref:`-(LI|LocalIndex)
  • ` LocalFileIndices] | [:ref:`-(LF|LocalFile) ` LocalFileNames] | [:ref:`-(RF|RemoteFile) ` RemoteFileNames] | [:ref:`-(SF|ServerFile) ` ServerFileNames] | [:ref:`-(DO|DownloadOrder) ` DownloadOrderIndices] | [:ref:`-(XO|ExecOrder) ` ExecOrderIndex] | [:ref:`-(DC|DownloadCommand) ` DownloadCommand] | [:ref:`-(PR|ProcessRemote) ` AdditionalRemoteFileProcess] | [:ref:`-(ED|EndDate) ` NextDataEndDate] | [:ref:`-(EH|EndHour) ` NextDataEndHour] | [:ref:`-(GP|GenericPattern) ` GenericPatterns] | [:ref:`-(WD|WorkDir) ` WorkingDirectory] | [:ref:`-(MR|MissRemote) ` AllowMissRemoteFile] | [:ref:`-(FQ|Frequency) ` UpdateFrequency] | [:ref:`-(CD|CurrentDate) ` CurrentDate] | [:ref:`-(CH|CurrentHour) ` CurrentHour] | [:ref:`-(VS|ValidSize) ` MinSizeForValidFile] | [:ref:`-(PL|ProcessLimit) ` MaxNumberOfChildProcesses] | [:ref:`-(HO|HourOffset) ` TimeZoneHourOffset] | [:ref:`-(QS|QsubOptions) ` PBSBatchOptions] | [:ref:`-(BP|BatchProcess) ` [BatchProcessHosts]] | [:ref:`-(CC|CarbonCopy) ` Cc'dEmailAddresses] | [:ref:`-(DB|Debug) ` DebugModeInfo] Available :ref:`Mode options `: .. list-table:: :widths: auto :header-rows: 0 * - :ref:`-(AW|AnyWhere) ` - works with :ref:`-BP ` (-BatchProcess) to allow the recorded **dsupdt** command to start from any directory * - :ref:`-(BG|BackGround) ` - runs in the background; suppresses screen output and errors * - :ref:`-(CN|CheckNewer) ` - when the server file is available locally, checks whether it has changed on the server and re-downloads if so * - :ref:`-(CP|CurrentPeriod) ` - allows the end date/hour to be processed beyond the current date/hour if it falls within the current update period * - :ref:`-(EE|ErrorEmail) ` - sends email only when an error occurs during retrieval of remote files * - :ref:`-(FU|ForceUpdate) ` - forces a download for at least one end date/time, even if the update is not yet due * - :ref:`-(GZ|GMTZone) ` - uses GMT dates/times as controlling times * - :ref:`-(HU|HourlyUpdate) ` - advances time tracking to hours after a successful remote file download * - :ref:`-(IE|IgnoreError) ` - works with :ref:`-MU ` (-MultipleUpdate) to skip download errors and continue with remaining remote files * - :ref:`-(KS|KeepServer) ` - keeps the server file on local disk by copying it to the remote file location instead of moving it * - :ref:`-(LO|LogOn) ` - enables detailed logging when option :ref:`-PL ` is present * - :ref:`-(MO|MissedOnly) ` - downloads a remote file only if it has not been archived yet * - :ref:`-(MU|MultipleUpdate) ` - downloads across all available update periods; without this option, only one period is processed * - :ref:`-(NE|NoEmail) ` - suppresses post-download email notification * - :ref:`-(NY|NoLeapYear) ` - skips February 29 for leap years * - :ref:`-(QE|QuitError) ` - stops all downloads for the dataset on the first error, rather than skipping and continuing * - :ref:`-(RD|RetryDownload) ` - re-downloads the remote file even if it already exists locally * - :ref:`-(SE|SummaryEmail) ` - sends a summary-only email after the action, without detailed log information * - :ref:`-(UB|UseBeginTime) ` - uses the period's beginning time instead of the end time when substituting temporal patterns When a remote file already exists on local disk, the download action is skipped. To re-download, either remove the existing file manually or use :ref:`Mode option ` :ref:`-RD ` (-RetryDownload). A server file is the original file on the remote server. Specify it only when its name differs from the remote file name. | :ref:`Back to Top ` | :ref:`Back to Table of Contents `