>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
I can't get the dir > myfile.txt to happen inside psftp though. Putting the files up via a batch is a no-brainer, getting the file names from the server into the text file is the issue.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright