Edit an XML file

Read the following information before editing an XML file:

  • To change the password for the account, delete the encryptedPassphrase element and replace it with a passphrase element. Type the new account password using plain text.
  • <passphrase>user3</passphrase>
  • The password is encrypted during the import process.
  • You can add or modify the information for a transfer site in its site element. Each setting that applies to all transfer sites has an element named for the setting. The information specific to the transfer protocol is represented by the customProperties element using the format <entry key="fieldname">value</entry> where fieldname is the name of the field in the transfer site, such as port, and value is the information entered for that field, such as 801.
  • You can add or modify the information for a transfer profile in its Idf element:
  • Field Element Valid values
    Transfer Profile Name name Any valid string
    Files To Send sendMapping Any valid string
    Receive File As receiveMapping Any valid string
    Acknowledge transfer sendingAcknowledgmentEnabled false
    true
    File Label fileLabelOption DONT_SEND
    SEND_FILENAME
    SEND_FILENAME_AND_PATH
    All files multiSelect false
    true
    Transfer Mode transferMode ASCII
    BINARY
    EBCDIC
    Record Format recordFormat 0 for Fixed
    128 for Variable
    Record Length recordLength Any valid positive integer
  • To indicate that a transfer profile is the default, include the <default>true</default> element in the Idf element. Only one transfer profile can include this element.
  • If you add or modify a subscription, make sure that the application is set up on the server where you are importing the XML file or that you are importing the appropriate application information in the same XML file.
  • To modify an application name in a subscription, edit the following element:
  • <applicationReference>MySub</applicationReference>
  • You can change the account information of an existing account, or you can add new accounts to the file.
  • When editing an account, you can modify the account information and use the existing id attribute in the Account element.
  • When adding an account, include the following elements in a new completeAccount element. Do not include the id attribute.
  • <account authByEmail="false" unlicensed="false"
        isUnlicensedAllowedToReply="true" disabled="false" >
        <name>partner1</name>
        <type>user</type>
        <usrid>1001</usrid>
        <grpid>1003</grpid>
        <homeFolder>/home/users/partner1</homeFolder>
        <homeFolderAccessLevel>PUBLIC</homeFolderAccessLevel>
        <email>partner1@example.com</email>
        <phone>800-555-0199</phone>
        <htmlTemplateFolderPath>/html/skin/ric</htmlTemplate
    FolderPath>
        <notes>Include ad hoc file transfer functions.</notes>
        <deliveryMethod>CUSTOM</deliveryMethod>
        <enrollmentTypes>CHALLENGED_LINK</enrollmentTypes>
        <implicitEnrollmentType>EXISTING_ACCOUNT</implicitEnrollmentType>
        <customAttributes>
            <customProperties>
                <entry key="encryptMode">unspecified</entry>
                <entry key="routingMode">reject</entry>
                <entry key="transferType">E</entry>
                <entry key="transfersWebServiceAllowed">false</entry>
            </customProperties>
            <localCertificates>
            </localCertificates>
            <partnerCertificates>
            </partnerCertificates>
            <userCertificates>
            </userCertificates>
        </customAttributes>
    </account>

  • The elements correspond to the fields in the account Settings pane:
  • Field Element Valid values
    Attributes
    Allow this account to login by email authByEmail false
    true
    (none) unlicensed Is this an unlicensed user account?
    false
    true
    Allow reply to packages isUnlicensedAllowedToReply false
    true
    Always true of licensed accounts.
    (none) disabled Is this user account disabled?
    false
    true
    Elements
    Delivery Method deliveryMethod DISABLED
    DEFAULT
    ANONYMOUS
    ACCOUNT_WITHOUT_ENROLLEMENT
    ACCOUNT_WITH_ENROLLMENT
    CUSTOM
    Enrollment Types enrollmentTypes

    If deliveryMethod is CUSTOM:

    ANONYMOUS_LINK
    CHALLENGE_LINK
    EXISTING_ACCOUNT
    ENROLL_UNLICENSED
    ENROLL_LICENSED

    Implicit Enrollment Type implicitEnrollmentType One of the valid enrollment types. Do not include when the deliveryMethod is DEFAULT or the field value is None.
    Home Folder Access homeFolderAccessLevel

    PRIVATE

    PUBLIC

    BUSINESSUNIT

    Custom properties
    Encrypt Mode encryptMode

    unspecified

    enabled

    Routing Mode routingMode accept
    reject

    ignore

    Account Type transferType E
    I

    N

    Transfer Mode transfersWebServiceAllowed false
    true

Related topics:

Related Links