Posted: 2016-10-11 17:11
I am new to using WinSCP and file transfer in general. I have session saved as firstname.lastname@example.org with the login credentials of user//password. I have created the session via the GUI and saved the password so it doesn't prompt me when I login the Session.
The reason why I am just trying to use this session is because of the proxy settings. Not quite sure how to do the proxy settings within the cmd/console.
However, when I open up the console/cmd and type in open email@example.com, it prompts me for a password. I am assuming that this command is the same if I use it in a script. How can I do this such that I do not need to enter a password when prompt for one?
In the long run, I am aiming for a script that logs in, moves a few directories, puts a file, based on success or failure, does a few more things and then close. One step at a time...
What open command can I use to connect to the server without the use of session?
Location: Prague, Czechia
If your saved site is indeed named
If this does not work, attach a log file both from the script and GUI.
Though as the link above also shows, this is may actually not be the best approach.
Instead, you can have WinSCP GUI generate a script file with complete settings:
You can post new topics in this forum
And it's free!