View Single Post
Old 07-27-2020, 09:52 AM
jjacobus jjacobus is offline
Registered User
Join Date: Apr 2004
Location: Vernon Hills, IL
Posts: 7
Capturing results

I figured out the SFXCL command line parameter as variables. (The scope on SET-Variable is different) The key pairs work as before. I can see the result of the list in my log file.

Problem I'm having is capturing the results. In the example:
SFXCL /List sftp://user@host/target_folder 2>&1 | Find ": -"

The "2>&1 Find ": -" bit is what I can't replicate. So this is really a Powershell question.
Reply With Quote