Post a reply :: Support Forum

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Username
Subject
Message body
Options

Add an Attachment

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


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

Topic review

Author Message
martin
To enable XML logging in versions prior to 5.0.x, refer to footnote here:
https://winscp.net/eng/docs/commandline#fn1
martin
For /timeout: It applies to sessions opened from command-line arguments. You do not have that. Use -timeout switch of the open command.
TimU
Post
I can't speak for the "timeout" switch, but "xmllog" was only introduced in v5.x beta versions.
mboeschger
Problems:
1) Using /timeout=<sec> does not set timeout to provided value
2) Specifying /xmllog=<file> does not produce xml log

I am using version 4.3.5 (Build 1463)

Command line:
"C:\Program Files\WinSCP\winscp.com" /script=WinSCP_ini.txt /xmllog=WinSCP_xmllog.txt
---> Does _not_ produce an XML log

"C:\Program Files\WinSCP\winscp.com" /script=WinSCP_ini.txt /log=WinSCP_xmllog.txt
---> Produces a regular log

"C:\Program Files\WinSCP\winscp.com" /script=WinSCP_ini.txt /log=WinSCP_xmllog.txt /timeout=45
---> does _not_ set timeout to 45 seconds. From the log file:
. 2012-02-04 08:03:54.334 Host name: <name> (Port: 22)
. 2012-02-04 08:03:54.334 User name: <user> (Password: Yes, Key file: No)
. 2012-02-04 08:03:54.334 Tunnel: No
. 2012-02-04 08:03:54.334 Transfer Protocol: SFTP (SCP)
. 2012-02-04 08:03:54.334 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2012-02-04 08:03:54.334 Proxy: none

Cheers - Michael

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License