P
PS
Dear Sir or Madam:
I can open PSFTP using AT scheduler; however, what's the
proper syntax to pass in variables? I have done some
research. I think batch files can handle this task. VBS &
WS seem to be overkill.
My objecive is to transfer 4 hours worth of log files from
a SVR to a local box after midnight.
I assume it would be done this way:
Use AT to open PSFTP (done)
Pass these VARs to PSFTP via batch file?
psftp> open 'ip address'
login as> 'user'
password> 'pw'
psftp> cd 'directory'
psftp> 'get filename c:\filename'
psftp> exit
Thank you in advance for your assistance.
I can open PSFTP using AT scheduler; however, what's the
proper syntax to pass in variables? I have done some
research. I think batch files can handle this task. VBS &
WS seem to be overkill.
My objecive is to transfer 4 hours worth of log files from
a SVR to a local box after midnight.
I assume it would be done this way:
Use AT to open PSFTP (done)
Pass these VARs to PSFTP via batch file?
psftp> open 'ip address'
login as> 'user'
password> 'pw'
psftp> cd 'directory'
psftp> 'get filename c:\filename'
psftp> exit
Thank you in advance for your assistance.