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

martin

Re: Need to pre-set domain for login prompt

Will see if more people ask for this.
tordster

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
martin

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.
tordster

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