I am involved with a routine where I would need a persistent connection, so I need connect and disconnect. However, I do not want to pass a clear password to my routine. In my previous scripts, I've always used epwdfile which works fine. I noticed this method uses passwordfrom file. I tried it but I was asked a password at the command line.
I then used the storepasswordto file to store a new password file. I saw that it is encrypted but different than my epwdfil.
However, even is I use passwordfromfile with my new password file, I still get promoted for my password.
Is the command line really the following?
stcmd connect user@server:port PasswordfromFile C:\myFile.txt