Need to pre-set domain for login prompt

Advertisement

tordster
Joined:
Posts:
2

Need to pre-set domain for login prompt

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Need to pre-set domain for login prompt

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

Reply with quote

tordster
Joined:
Posts:
2

Re: Need to pre-set domain for login prompt

martin 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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Need to pre-set domain for login prompt

Will see if more people ask for this.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum