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,
Protocol
: Specifies the protocol through which you want to transfer the files.
The supported protocols are FTP, sFTP, UNC (UNC stands for shared directory).
Host
: Specifies the fileserver machine name
Port
: Specifies the port number of the used protocol. For example for FTP, the port number is 21.
User
: Specifies the file server user, who is responsible for uploading or downloading the files.
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.
- Open a command prompt.
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.
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.
IsPwdEncrypted
: If you have specified the password in encrypted format, set the parameter as
true
else set to false.