Can you run SecureFX with a script similar to SecureCRT? I'm trying to find a good way to automaticlay move files around and capture the transfer information in logs for review if something goes wrong. Id like to pass all the needed information as parms to the script for connecting and moving the files.
Currently I'm doing this using batch files and OpenSSH. I use the sftp command and pass it a command file that contains the commands I need it to carry out (put, get, ls, cd, etc). This is working fine but I am not able to capture an error condition if the put or get step fails.
Any information would be greatly appreciated.