dave-csc opened a new issue, #3778:
URL: https://github.com/apache/hop/issues/3778

   ### Apache Hop version?
   
   2.8.0
   
   ### Java version?
   
   openjdk version "21.0.2" 2024-01-16
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   Hello,
   
   you can use the Move Files action in a workflow to rename files on SFTP 
servers ([as explain in 
documentation](https://hop.apache.org/manual/latest/workflow/actions/movefiles.html)).
 I stored the connection parameters in a configuration file and then setup the 
source and destination filenames using those parameters as Hop variables, like 
this:
   
   `sftp://${SFTP_USER}:${SFTP_PWD}@${SFTP_HOST}${REMOTE_DIR}/${FILE_TO_RENAME}`
   
   The variable `${SFTP_PWD}` is encoded in the configuration files, and I 
expected this would be decoded prior to getting the connection established. It 
seems this doesn't occur, since with a similar connection string the transform 
fails.
   
   However, if I replace the variable `${SFTP_PWD}` with the actual password 
(in clear text!), the remote file is correctly renamed.
   
   (This issue is probably related to #3454... sorry if I filed this 
incorrectly as a bug)
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Actions


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to