Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

gst

Re: logging for sessions

is there something new??
gst

Re: logging for sessions

in this sessenlog has only the actions to be written whitch was made on the remote server.
Teka

Try this command, under command prompt:
Winscp /?


You will see :
Usage:

winscp session
winscp [(scp|sftp|ftp)://][user[:password]@]host[:port][/path/[file]]
winscp [session] [/console] [/script=file] [/command command1 command2 ...]
winscp [session] /synchronize [local_dir] [remote_dir] [/defaults]
winscp [session] /keepuptodate [local_dir] [remote_dir] [/defaults]
winscp /ini=<inifile> /log=<logfile> /privatekey=<keyfile>
winscp /update
winscp /help

 session  - Name of stored session or session information specified directly.
 /console - Console (text) mode. Default mode, when invoked using winscp.com.
 /script  - Executes batch script file. If the script does not end with 'exit'
            command, normal interactive mode follows.
 /command - Execute list of script commands.
 /synchronize  - Synchronizes content of two directories.
 /keepuptodate - Starts Keep remote directory up to date function.
 /defaults     - Starts operation without showing options dialog.
 /ini     - Path to configuration INI-file.
 /log     - Turns on logging to file.
 /privatekey - Default private key file for authentication.
 /update  - Queries application homepage for updates.
 /help    - Prints this usage.
gst

logging for sessions

hello,
we use winscp for our remote infrastructure.
german law requires to save logfiles, so that customerscan ask us who has done what.
we need a sessionlog which the user can't switch of.
we have thousends of remote devices and the connectivity cames from a database, so we have to start winscp from commandline.
please create two new parameters:
the first one for the protokoll ( e.g /ftp or /sftp )
the second for the sessionlog ( e.g. /sesslog=filename)
thank you