Post a reply

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

Bug reports without an attached log file are usually useless.

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

Guest

martin wrote:

You can work around that by replacing ftp:// prefix with command line parameter /RawSettings FSProtocol=5

WinSCP.exe user:password@10.10.10.10 /RawSettings FSProtocol=5
/passive /log="d:\connectionlogs\10.10.10.10_2012_10_02_winscp.log


thanks for the workaround with
WinSCP.exe user:password@10.55.35.46 /RawSettings FSProtocol=5 PortNumber=21 /passive /log="logfile"
it works.
martin

You can work around that by replacing ftp:// prefix with command line parameter /RawSettings FSProtocol=5

WinSCP.exe user:password@10.10.10.10 /RawSettings FSProtocol=5
/passive /log="d:\connectionlogs\10.10.10.10_2012_10_02_winscp.log
zeus_12345

martin wrote:

What's is the purpose of the call? Just to start WinSCP for interactive use? Or do you add some more parameters like /command to automate some operation?

the purpose is to start WinSCP for interactive use, the user should not have to enter a logfile or user/password , ftp/scp and the IP
example
WinSCP.exe ftp://user:password@10.10.10.10 /passive /log="d:\connectionlogs\10.10.10.10_2012_10_02_winscp.log"
because we have to save our logfiles.
martin

Re: winscp did not write a logging file

What's is the purpose of the call? Just to start WinSCP for interactive use? Or do you add some more parameters like /command to automate some operation?
zeus_12345

winscp did not write a logging file

Hi,
We have a database which creates application calls in this way:
WinSCP.exe ftp://{UserNameLocal}:{PasswordLocal}@{VPN_ADDRESS} /passive /log="{LOGPATH}{YEAR}_{MONTH}\{DAY}_{HOUR}_{MINUTE}_{SECOND}_{DEVICE_ID}_{WIN_USERNAME}.log"

but winscp did not write a logfile. Since we have to log all remote activities, we would need this feature. With ssh the log is working.

I tested /xmllog and /log. I get only the hint, that automatic actions not run if run as commandline