3.4.4 - Get Web File Information

      Action Option -GW (-GetWebFile) (Aliass: -GetWeb) :

      gets information of data files on RDA Server for a given dataset and/or specified Web file names. The list of data files can be further specified for given group indices, file archive types, and file descriptions.

      dsarch[-(DS|Dataset)] dsnnn.n -(GW|GetWebFile) [Mode Options]
        [-(FN|FieldNames) FieldNameString]
        [-(ON|OrderNames) OrderNameString]
        [-(OB|OrderBy) OrderByPattern]
        [-(WF|WebFile) WebFileNames]
        [-(WT|WebFileType) WebFileTypes]
        [-(FS|FileStatus) WebFileStatus]
        [-(LC|Location) StorageLocationFlags]
        [-(GI|GroupIndex) GroupIndices]
        [-(GN|GroupName) GroupNames]
        [-(TG|TopGroupIndex) TopGroupIndices]
        [-(DE|Description) WebFileDescriptions]
        [(-OF|-OutputFile) OutputFileName]
        [-(DB|Debug) DebugModeInfo]

      Mode options that can be specified for getting Web file action:

      Use Info option -FN (-FieldNames) to specify what fields of file on RDA Server to retrieve. It defaults to 'FINMTHS' if option -FN is not provided; information of all available fields is retrieved if -FN ALL is given.

      Valid Web file field names and their corresponding Info options:

      -(RG|REcursiveGroup)gather files in subgroups recursively for given group index
      -(RN|RelativeName)retrieves Web file names with paths relative to
      -(RN|RelativeName)retrieves Web file names with paths relative to saved Web paths for groups or dataset
      NamesInfo OptionsDescriptions
      F-(WF|WebFile)Web file names with relative paths
      T-(WT|WebFileType)Web file archiving types
      C-(MC|MD5Checksum)Web file MD5 Checksum
      I-(GI|GroupIndex)group indices for Web files
      X-(TG|TopGroupIndex)top group indices for Web files
      V-(VI|VersionIndex)Version control index
      M-(AF|ArchiveFormat)file archive formats
      N-(DF|DataFormat)data content formats
      O-(DO|DisplayOrder)display order indices
      B-(QF|QuasarFile)Quasar backup file names
      Q-(QT|QuasarType)Quasar backyp fie types
      L-(LC|Location)Web file storage location flag
      H-(FS|FileStatus)Web file archiving status
      S-(SZ|Size)Web file sizes
      J-(FD|FileDate)date data last modified on
      K-(FT|FileTime)time data last modified at
      A-(ML|MetaLink)a link to content meta at the file level
      E-(TL|ThreddLink)a link to Thredd Catalog page at the file level
      D-(DE|Description)Web file descriptions

      The dataset number per option -DS (-Dataset) is mandatory unless Web file names are provided. An error message is prompted for specialist to pick one dataset number and rerun 'dsarch' if multiple datasets are identified for given Web file information without specified dataset number. Web file names are expanded automatically to include full paths relative to the dataset Web Home Directories if the file names are given without or with incomplete paths.

      Web file information can be retrieved for further specified file archive types per option -WT (-WebFileType), groups per option -GI (-GroupIndex) or -GN (-GroupName), and Web file descriptions per -DE (-Description). Info options -WF, -GN and -DE accept wildcard inputs of '%' for matching any number of characters.


      EXAMPLE 10.

      Get The Web File Information Of Ds540.0 For Default Fields; for Data type and wildcard matching '200' in Web file names

      dsarch540.0 GW -WT D -WF %200%

      Content of the output:

      Dataset<=>ds540.0
      WebFile<:>GroupIndex<:>DataFormat<:>ArchiveFormat<:>WebFileType<:>Size<:>
      IMMA_2.4_1998_2000.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1283094016<:>
      IMMA_2.4_2001_2002.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1006424064<:>
      IMMA_2.4_2003_2004.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1149672960<:>
      IMMA_2.4_2005.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>951742976<:>
      IMMA_2.4_2006.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>1119821824<:>
      IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>



      Back to Top