Topic "Possible to disable pattern matching in log file name?"

Author Message
endo5
[View user's profile]

Joined: 2009-10-12
Posts: 5
Hello,

Would like to save a log file to a folder with a !S in it.
I'm using the command line to start WinSCP and specifying the log file through the command line. It's pattern matching the !S in the folder name and therefore not finding the right folder to store the file.

Any help would be much appreciated.

Thanks.
endo
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Just double the exclamation mark: !!S.
I have added this to documentation.
_________________
Martin Prikryl
endo5
[View user's profile]

Joined: 2009-10-12
Posts: 5
Thanks a lot for the tip.

On a different but similar topic, is there a way to only log errors or make the error log less verbose? I'm not specifying any options on verbosity, and I listen to the exit code to determine if there's an error, but then it may take a long time to go through the log to find out what went wrong.

Thanks.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
There's no such option. But if you use XML logging, it should be quite easy to disntinguish errors.
_________________
Martin Prikryl
endo5
[View user's profile]

Joined: 2009-10-12
Posts: 5
Thanks for the tip.
Advertisements

You can post new topics in this forum






Search Site

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