Configuring fsclient-config.properties File for File Server Connectivity

You can configure fsclient-config.properties file. This file is used by the XPDMImportExportBatch to upload or download design data on or from the file server.

The default location of fsclient-config.properties is

C:\Program Files\Dassault Systems\Bn\{OS}\reffiles\XPG\config\client

Where n is the current release number of the installation and {OS}is the operating system installed on the system.

Open the file in text editor.

The file has default parameters for each variable as below:

Protocol=[PROTOCOL]
Host=[HOST]
Port=[PORT]
User=[USER]
Password=[PASSWORD]
IsPwdEncrypted=[IS_PWD_ENCRYPTED]
ProxyHost=[PROXY_HOST]
ProxyPort=[PROXY_PORT]
ProxyUser=[PROXY_USER]
ProxyPassword=[PROXY_PASSWORD]

where,

  1. Protocol: Specifies the protocol through which you want to transfer the files. The supported protocols are FTP, sFTP, UNC (UNC stands for shared directory).
  2. Host: Specifies the fileserver machine name
  3. Port: Specifies the port number of the used protocol. For example for FTP, the port number is 21.
  4. User: Specifies the file server user, who is responsible for uploading or downloading the files.
  5. Password: Specifies the file server user password. You can generate an encrypted password and paste it here.

    You can generate encrypted password for any user. You may need to generate password in encrypted format while configuring fsclient-config.properties file.

    1. Open a command prompt.
    2. Set the CLASSPATH with xgCrypto.jar file path.

      For example:

      set CLASSPATH=C:\Program Files\Dassault Systems\Bn\win_b64\docs\java\xgCrypto.jar

      Where n is the current release number of the installation.

      Press Enter.

    3. In the next line, type the command:

      java com.ds.enovia.xpg.util.crypto.EncryptionTest <password to be encrypted>

      Press Enter.

      For example:

      java com.ds.enovia.xpg.util.crypto.EncryptionTest mypassword

      The password in the encrypted format is displayed in the same command prompt.

  6. IsPwdEncrypted: If you have specified the password in encrypted format, set the parameter as true else set to false.