Topic "Need to pre-set domain for login prompt"

Author Message
tordster
[View user's profile]

Joined: 2014-03-24
Posts: 2
Hi.

I am using winscp command line/script to upload some files to some FTP servers. IIS 6 and IIS 7.
I do not want to specify username and password in the command itself and so I get prompted with the WinSCP username and password dialogs "on the way". This is OK, but I would like the username field to be pre-configure with the domain so that I do not have to type this every time. Is this possible?

Also - is it possible to add/change the user info text in these dialogs/windows?


/Tord Bergset
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Neither is possible.
But you can prompt for username using set /P USERNAME="Enter username:" command from a batch file and then use %USERNAME% in the WinSCP script for open command.
_________________
Martin Prikryl
tordster
[View user's profile]

Joined: 2014-03-24
Posts: 2
prikryl wrote:
Neither is possible.
But you can prompt for username using set /P USERNAME="Enter username:" command from a batch file and then use %USERNAME% in the WinSCP script for open command.



Thanks for your prompt answer. Can you add or I move these to the feature request list?
Would be really nice if this could be read from the WinSCP.ini file

/Tord
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Will see if more people ask for this.
_________________
Martin Prikryl
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