Date/Timestamps In Log File
Requesting an option to add a date/time stamp in the output log.
2017-02-01 16:30:10 Connecting to host...
2017-02-01 16:30:10 Authenticating...
2017-02-01 16:30:12 Authenticated.
2017-02-01 16:30:12 Starting the session...
2017-02-01 16:30:12 Session started.
2017-02-01 16:30:12 Active session: [1] uuuu@files.xxxx.net
2017-02-01 16:30:12 Comparing...
2017-02-01 16:30:40 Local 'C:\downloads\webdav\Formulary\yyy' <= Remote '/webdav/Formulary/yyy'
2017-02-01 16:30:40 Synchronizing...
2017-02-01 16:30:40 Local 'C:\downloads\webdav\Formulary\yyy\AAA' <= Remote '/webdav/Formulary/yyy/AAA'
2017-02-01 16:30:42 DS10401 | 37 KB | 953.7 KB/s | binary | 100%
2017-02-01 16:30:44 DS10402 | 37 KB | 652.5 KB/s | binary | 100%
2017-02-01 16:30:46 DS10992 | 36 KB | 595.8 KB/s | binary | 100%
2017-02-01 16:30:48 DS11138 | 38 KB | 570.6 KB/s | binary | 100%
2017-02-01 16:30:50 DS11139 | 37 KB | 573.5 KB/s | binary | 100%
I'm guessing this would be something like an optional command line switch, like this:
WinSCP.com /script=C:\Script.txt /timestamp > C:\Log.txt
2017-02-01 16:30:10 Connecting to host...
2017-02-01 16:30:10 Authenticating...
2017-02-01 16:30:12 Authenticated.
2017-02-01 16:30:12 Starting the session...
2017-02-01 16:30:12 Session started.
2017-02-01 16:30:12 Active session: [1] uuuu@files.xxxx.net
2017-02-01 16:30:12 Comparing...
2017-02-01 16:30:40 Local 'C:\downloads\webdav\Formulary\yyy' <= Remote '/webdav/Formulary/yyy'
2017-02-01 16:30:40 Synchronizing...
2017-02-01 16:30:40 Local 'C:\downloads\webdav\Formulary\yyy\AAA' <= Remote '/webdav/Formulary/yyy/AAA'
2017-02-01 16:30:42 DS10401 | 37 KB | 953.7 KB/s | binary | 100%
2017-02-01 16:30:44 DS10402 | 37 KB | 652.5 KB/s | binary | 100%
2017-02-01 16:30:46 DS10992 | 36 KB | 595.8 KB/s | binary | 100%
2017-02-01 16:30:48 DS11138 | 38 KB | 570.6 KB/s | binary | 100%
2017-02-01 16:30:50 DS11139 | 37 KB | 573.5 KB/s | binary | 100%
I'm guessing this would be something like an optional command line switch, like this:
WinSCP.com /script=C:\Script.txt /timestamp > C:\Log.txt