Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pscp with -p option

18 views
Skip to first unread message

kduffy

unread,
Aug 28, 2012, 4:25:30 PM8/28/12
to
I'm using a pscp command similar to this:

pscp.exe -p -pw p2Q9na@K user@hostname:/publisher/*.xlsx \\destination

This works fine from a command window, but when I run it from a batch file, or from a SQL Server job, the -p option doesn't work. All files have the current date.

Does anyone have a solution to this?
0 new messages