PSFTP is only interactive. The only way I found was to DIR to a txt file then parse the text and create a batch file, then reopen putty with the -b: switch.
>Does anyone know how to redirect a directory listing to a file using sftp (of any flavor)? I'm using PSFTP and it doesn't lend itself to doing this.
>
>TIA
Regards N Mc Donald