Frends.SFTP.MoveFile: Port fails with environment variable that works in other SFTP tasks
Task full name: Frends.SFTP.MoveFile Task version: 2.0.0 Frends version: 6.2.3.3649 .NET platform: .NET8 Operating system: Linux (Ubuntu 24.04.5) Summary: The Port parameter of Frends.SFTP.MoveFile does not accept an environment variable value that works in other SFTP tasks (e.g. Frends.SFTP.WriteFile 3.0.0). Expected behaviour: Port = #env.SFTP_MosMosh.Port (expression) is converted to int and the task connects, the same way it works in Frends.SFTP.WriteFile 3.0.0. Actual behaviour: The process fails before the task runs: Error when initializing parameters for step 'Move File to Error': Cannot convert type 'string' to 'int' (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException) Steps to reproduce: Create an environment variable group SFTP_MosMosh with a Port value (e.g. 22). Add Frends.SFTP.WriteFile 3.0.0, set Connection > Port (Expression) to #env.SFTP_MosMosh.Port, and run it: works. Add Frends.SFTP.MoveFile 2.0.0 with the same Port expression and run it: fails with the error above. Additional information: Workaround: Convert.ToInt32(#env.SFTP_MosMosh.Port) works in MoveFile. It would be good if all SFTP tasks (WriteFile, MoveFile, DownloadFiles, DeleteFiles) handled the Port parameter consistently.
