title: Exception while reading password from a file as a Talend context variable
body: <p>I currently have a Talend job which reads from a context file and feeds into context variables. I have a field called <code>ftppassword</code> and store the hard coded password in the context file. I then have a context variable in the job and refer to that in my job.</p>
  
  <p>With this setup my job runs fine but if I change the context file to contain a location to a password file instead of the hard coded password, I get the following exception:</p>
  
  <pre><code>Exception in component
  tFTPConnection_1 com.enterprisedt.net.ftp.FTPException: 530 Login
  incorrect. at
  com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket
  .java:11‌​79) at
  com.enterprisedt.net.ftp.FTPClient.password(FTPClient.java:1844) at
  com.enterprisedt.net.ftp.FTPClient.login(FTPClient.java:1766) – 
  </code></pre>
  
  <p>**Edit - 2014-12-08 **** 
  Output of context parameters:
  Implicit_Context_Context set key "ftphost" with value "ftp.host.com"
  Implicit_Context_Context set key "ftpport" with value "21"
  Implicit_Context_Context set key "ftpusername" with value "myuser"
  Implicit_Context_Context set key "ftppassword" with value "/opt/password_files/DW/test1.password"
  Implicit_Context_Context set key "ftpremotepath" with value "/Output/"
  Implicit_Context_Context set key "ftpfilemask" with value "test_dn.zip"
  Have also tried changing the data type of ftppassword to File and Password but had no luck with that.</p>
  
  <p><img src="https://i.stack.imgur.com/a7nWv.png" alt="enter image description here"></p>