(!Const.isEmpty(wProxyHost.getText()) ? "@" + realServername : "") +
(!Const.isEmpty(wProxyUsername.getText()) ? " " + jobMeta.environmentSubstitute(wProxyUsername.getText())
: "");
String realPassword = jobMeta.environmentSubstitute(wPassword.getText()) +
(!Const.isEmpty(wProxyPassword.getText()) ? " " + jobMeta.environmentSubstitute(wProxyPassword.getText()) : "" );
<BUG>ftpclient.login(realUsername, realPassword);
}</BUG>
String realFtpDirectory ="";
if (!Const.isEmpty(wFtpDirectory.getText()))
realFtpDirectory = jobMeta.environmentSubstitute(wFtpDirectory.getText());

(!Const.isEmpty(wProxyHost.getText()) ? "@" + realServername : "") +
(!Const.isEmpty(wProxyUsername.getText()) ? " " + jobMeta.environmentSubstitute(wProxyUsername.getText())
: "");
String realPassword = jobMeta.environmentSubstitute(wPassword.getText()) +
(!Const.isEmpty(wProxyPassword.getText()) ? " " + jobMeta.environmentSubstitute(wProxyPassword.getText()) : "" );
ftpclient.login(realUsername, realPassword);
pwdFolder=ftpclient.pwd();
}
String realFtpDirectory ="";
if (!Const.isEmpty(wFtpDirectory.getText()))
realFtpDirectory = jobMeta.environmentSubstitute(wFtpDirectory.getText());
