Hidden ftp password in DUAS V5 Uproc script

Document ID : KB000087195
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 5

Error Message :
There is no error message.

Patch level detected:Dollar Universe 5.6.0
Product Version: Dollar.Universe 5.6.0 FX25010

Description :Hidden Variable in Uproc Script can't use directly in DUAS V5.6 to hide ftp password in Uproc.
Example as below: (but work in DUAS V6)
uxexechidden uxstr ftp get partner=xxx ORIGIN_FILENAME=xxx ORIGIN_PATHNAME=xxxx LOGON=ftpfnsvr PASSWORD=!HIDDEN_ftpfnsvr_password!

Tue Jan 21 12:36:52 2014: ---------------------------------------------------------
Tue Jan 21 12:36:52 2014: Set values in UXFTP_DATA structure...
Tue Jan 21 12:36:52 2014: Set values in UXFTP_DATA structure ended
Tue Jan 21 12:36:52 2014: Checking UXFTP_DATA and trace all values...
Tue Jan 21 12:36:52 2014: Trace all values from UXFTP_DATA struct...
Tue Jan 21 12:36:52 2014: ftp transfer type=download
Tue Jan 21 12:36:52 2014: No value for logfile
Tue Jan 21 12:36:52 2014: server=10.222.123.32
Tue Jan 21 12:36:52 2014: user=ftpfnsvr
Tue Jan 21 12:36:52 2014: password=!HIDDEN_ftpfnsvr_password!
Environment:
OS: All
Cause:
Cause type:
Defect
Root Cause: N/A
Resolution:
Workaround for the V5.6:
######################
To hide ftp password in Uproc of $U V5, Below is sample script:

@echo on

for /F %%i in ('uxexechidden echo !HIDDEN_var1!') do set var_ftp_password=%%i

uxstr ftp get partner=ftp.orsyp.com ORIGIN_FILENAME=last_update.txt ORIGIN_PATHNAME=public LOGON=1952 PASSWORD=%var_password%

set resexe=%errorlevel%

@echo off
######################

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.1.01
Additional Information:
Workaround :
N/A