1
Is it possible to pipe the contents of a folder on an SFTP site to a local file similar to window sinnate ftp.exe program where the syntax:
dir /MainDir/SubDir c:\test\ftp\CurrentContents.txt
but the same syntax does not work with SFTP.exe. I need to be able to process one file name at a time in a powershell script and I can see no way to pass file names from the SFTP.exe program to the powershell script and back without being able to parse a text file with directory contents.
If anyone has any ideas or suggestions please let me know. thanks rp
I appreciate the answer but, as a public agency with no funds for additional software, a 350$ price tag is out of league. – user194104 – 2013-01-31T16:25:00.513
At $20/hour (to make the math easy), if you spend 2 days fighting with
sftp.exe
and haven't gotten it to work yet, you've already spent about $350 of the agency's funds and still don't have a solution. I understand what you're saying, but time does have a dollar value attached to it. See my edit for another suggestion. – alroc – 2013-01-31T18:21:03.773