I currently have a script to launch psftp to put a file. I am using the powershell script monitor. What I need is assistance in scripting the return of a successful put or get or a failure.
$file = "file I am putting"<br />$user = "username"<br />$pass = "password"<br />$hst = "host.name"<br />$path="location of psftp"<br />$cmd = @("put $file","bye")
script command $cmd | & $path -pw $pass "$user@$hst"