KeyserSoze1877
Programmer
I am using Putty SFTP to automate log tranfers on Windows.
I need a script to run with the transfer to get today's logs...
For Example: EVENTLOG0507.log
I would need to tranfer only today's file ending in MMDD.
I have a batch to initiate the sftp connection and a script to automate put commands, but how do I make the put grab the right file? I am assuming my vbs will replace my bacth and run the sftp.exe but how?
I need a script to run with the transfer to get today's logs...
For Example: EVENTLOG0507.log
I would need to tranfer only today's file ending in MMDD.
I have a batch to initiate the sftp connection and a script to automate put commands, but how do I make the put grab the right file? I am assuming my vbs will replace my bacth and run the sftp.exe but how?