input from file

Advertisement

claudiaf
Joined:
Posts:
1
Location:
buenos aires

input from file

I would like to open a session with a fixed user and password but to different servers, which IPs I keep in a separate file
How can I use this file as an input file for the script??
i.e.
open user:password@SERVERIP
where SERVERIPs are kept in a separate file.txt such as
10.100.0.1
10.100.0.2
Thanks a lot

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: input from file

Make batch or script that generates temporary WinSCP script file with IP address of your choice.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum