Topic "Open session from .INI file"

Author Message
sqlcoder
[View user's profile]

Joined: 2012-12-08
Posts: 1
Location: earth
Good day.

Apologize if this asked before but did not find info related. I would like to open the session already define on winscp.ini file how can be done?

Thanks in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You cannot (well not sctricly true, but thre's no official way to do that). The .NET assembly is designed to run independently of the WinSCP configuration.
suseu
[View user's profile]

Joined: 2013-02-07
Posts: 2
Any info on the unofficial method? I don't want to provide ftp/proxy passwords in the script.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
suseu wrote:
Any info on the unofficial method? I don't want to provide ftp/proxy passwords in the script.

Just load them from any configuration file you want yourself.
suseu
[View user's profile]

Joined: 2013-02-07
Posts: 2
I wouldn't call that unofficial. This is unofficial https://winscp.net/forum/viewtopic.php?t=11223
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I was reacting to the "I don't want to provide ftp/proxy passwords in the script." part.
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