how to create an entire login(site) via command promt

Advertisement

pmassano
Guest

how to create an entire login(site) via command promt

Hi all, I'm trying to add a login to winscp via command prompt. But I'm unable to find an waay to do it? it is possible, or sites/user info can only be added in UI Login window?

I need to have it stored to avoid to have the user and password stored in my batch file (I'm building a schedule task to send files every day)

Thanks

Reply with quote

Advertisement

Guest

I'm automating a manual deployment plan
one of the steps prior to run the following bat script is to create app/app1 site credentials
the script uses app/app1 login that currently is created in WinSCP ui.

My question is can this login be created via commandline?

attached is the login window info with the info that needs to be scripted to be used on my automation

Script:
cd C:\Program Files (x86)\WinSCP
WinSCP.com app/app1 /log="C:\temp\logs_%DATE:/=-%.txt" /command "put -filemask=* H:\EXTRACT\TRANSFER\* -delete" "close" "exit"

login_info.png

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum