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

netinial

Re: How to set ShowHiddenFiles from /rawconfig

Thank you for your fast response Martin.
I appreciated.

Note for others :
Shell
This code does not work with SFTP protocol but SCP.
martin

Re: How to set ShowHiddenFiles from /rawconfig

We are starting WinSCP from KeePass with following CMD, however ShowHiddenFiles comes false as default. How can we change it from false to true without ini file?

It's not True, but 1 (or on, since WinSCP 5.18.1):
/rawconfig Interface\ShowHiddenFiles=1


There was a shell command however no example at RawSetting.
How to use /Shell flag from Cmd Startup as follow?

The same way as LocalDirectory:
/rawsettings LocalDirectory=themes\theme Shell="sudo -u username -s"
netinial

How to set ShowHiddenFiles from /rawconfig

Hi,

I was wondering if help us,

We are starting WinSCP from KeePass with following CMD, however ShowHiddenFiles comes false as default. How can we change it from false to true without ini file?

cmd://"..\..\WinSCP\WinSCP\WinSCP.exe" sftp://user:pass@domain:/username/web1/ /rawsettings LocalDirectory=themes\theme /ini=nul /rawconfig Interface\ShowHiddenFiles=True

does not works

Second Question is
There was a shell command however no example at RawSetting.
How to use /Shell flag from Cmd Startup as follow?

cmd://"..\..\WinSCP\WinSCP\WinSCP.exe" sftp://user:pass@domain:/username/web1/ /rawsettings LocalDirectory=themes\theme /ini="..\..\settings.ini" /Shell="sudo -u username -s"

/Shell="sudo -u username -s"
/Shell=sudo -u username -s

or any variants does not works