<BUG>if (log.isDetailed()) log.logDetailed(toString(), "logged in with user "+realUsername);
if (!Const.isEmpty(realRemoteDirectoty))
</BUG>
{
<BUG>ftpclient.chdir(realRemoteDirectoty);

if (log.isDetailed()) log.logDetailed(toString(), "Changed to directory ["+realRemoteDirectoty+"]");
</BUG>
}
int x = 0;

ftpclient.setTimeout(timeout);
if (log.isDetailed()) log.logDetailed(toString(), Messages.getString("JobFTPPUT.Log.SetTimeout",""+timeout));
ftpclient.setControlEncoding(controlEncoding);
if (log.isDetailed()) log.logDetailed(toString(), Messages.getString("JobFTPPUT.Log.SetEncoding",controlEncoding));
ftpclient.connect();
ftpclient.login(realUsername, realPassword);
if (log.isDetailed()) log.logDetailed(toString(), Messages.getString("JobFTPPUT.Log.Logged",realUsername));
if (!Const.isEmpty(realRemoteDirectory))
{
ftpclient.chdir(realRemoteDirectory);
if (log.isDetailed()) log.logDetailed(toString(), Messages.getString("JobFTPPUT.Log.ChangedDirectory",realRemoteDirectory));
}
int x = 0;
