Topic "How do I pass the password in using scipting?"

Author Message
davidhelmrich
[View user's profile]

Joined: 2015-08-27
Posts: 1
Location: Hoffman Estates, Illinois
I have set up a script to log on to a SFTP site.
The script does connect, but asks for a password.
I see no documentation on how to provide the password via a script
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
You specify your password in session URL in your open command.

open sftp://username:password@example.com

See
http://winscp.net/eng/docs/scriptcommand_open
http://winscp.net/eng/docs/session_url
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