setFileInfo

Modifies a file's information (properties).

Request

<fileInfo>
   <setFileInfo>
      <fileName/>
      <nameType/>
      <owner/>
      <attributes>
         <readOnly enabled=" "/>
         <hidden enabled=" "/>
         <system enabled=" "/>
         <execute enabled=" "/>
         <archive enabled=" "/>
         <sharable enabled=" "/>
         <transaction enabled=" "/>
         <immediatePurge enabled=" "/>
         <renameInhibit enabled=" "/>
         <deleteInhibit enabled=" "/>
         <copyInhibit enabled=" "/>
         <link enabled=" "/>
         <remoteDataAccess enabled=" "/>
         <remoteDataInhibit enabled=" "/>
         <compressImmediate enabled=" "/>
         <dataStreamCompress enabled=" "/>
         <doNotCompress enabled=" "/>
         <noStreamCompress enabled=" "/>
         <attrArchive enabled=" "/>
         <volatile enabled=" "/>
      </attributes>
      <symlink/>
      <nfsInfo>
         <user>
            <id/>
            <owner/>
         </user>
         <group>
            <id/>
            <owner/>
         </group>
         <rights>
      </nfsInfo>
      <idInfo>
         <creator/>
         <archiver/>
         <modifier/>
         <metaDataModifier/>
      </idInfo>
      <standardInfo>
         <attributes/>
      </standardInfo>
      <timeInfo>
         <createTime/>
         <archivedTime/>
         <accessedTime/>
         <modifiedTime/>
         <metaDataModifiedTime/>
      </timeInfo>
   </setFileInfo>
</fileInfo>

Reply

<fileInfo>
   <setFileInfo>
      <result value=" ">
         <description/>
      </result>
   </setFileInfo>
</fileInfo>

Elements

fileName

(Required) Specifies the name of the file.

nameType

Specifies the type of the file name such as File, DataStream, ExtendedAttribute and DeletedFile.

owner

(Optional) Specifies the name of the new owner (in either dot or slash form).

attributes

(Optional) Specifies a list of attributes to change. Each listed attribute also lists whether to enable or disable the specific attribute.

nfsInfo

(Optional) Specifies NFS information to change.

user

(Optional) Specifies either the ID or the name of the file owner.

id

Specifies the ID of the Unix owner.

(Optional) symLink

Specifies not to follow the link.

owner

Specifies the dot- or slash-delimited name from which to get the ID.

group

(Optional) Specifies either the ID or the name of the group assigned to the file.

rights

(Optional) Specifies a Unix octal value that represents the permissions to set.

idInfo

(Optional) Specifies a list of IDs to change for the file.

creator

(Optional) Specifies the creator of the file (in dot or slash format).

archiver

(Optional) Specifies the archiver of the file (in dot or slash format).

modifier

(Optional) Specifies the modifier of the file (in dot or slash format).

metaDataModifier

(Optional) Specifies the metadata modifier of the file (in dot or slash format).

standardInfo

(Optional) Specifies the basic file attributes to change. This attributes list is the same as the preceding attributes list contained in the attributes element.

timeInfo

(Optional) Specifies the time stamps to change for the file.

createTime

(Optional) Specifies a new created time for the file (as a string in the format of YYYYMMDDHHMMSS).

archivedTime

(Optional) Specifies a new archived time for the file (as a string in the format of YYYYMMDDHHMMSS).

accessedTime

(Optional) Specifies a new accessed time for the file (as a string in the format of YYYYMMDDHHMMSS).

modifiedTime

(Optional) Specifies a new modified time for the file (as a string in the format of YYYYMMDDHHMMSS).

metaDataModifiedTime

(Optional) Specifies a new metadata modified time for the file (as a string in the format of YYYYMMDDHHMMSS).

result

Specifies an error value or 0 (for no error).

description

Specifies a text description of the result.

Attributes

enabled

(Optional) Specifies if the current element should be enabled:

  • yes
  • no