Stored sessions, daylight saving time and port in scripting
Hello!
I use WinSCP.com as process in my application. Because I cannot set daylight saving time option in scripting mode directly (please implement this! :D), I created two fake sessions: "withdst" and "withoutdst" for Winddows and Unix servers which looks exactly like this:
When I open winscp.com with parameters:
Then on standard output winscp ask me for host, user and password. But it works only if sftp server is listening on default 22 port. If the port is different, winscp show me after setting host:
How to get around this problem? I send data to a lot of servers which changes dynamically very often and setting all informations in .ini file in stored session for each server is not an option.
I use WinSCP.com as process in my application. Because I cannot set daylight saving time option in scripting mode directly (please implement this! :D), I created two fake sessions: "withdst" and "withoutdst" for Winddows and Unix servers which looks exactly like this:
[Sessions\withdst] ConsiderDST=0 [Sessions\withoutdst] ConsiderDST=2
When I open winscp.com with parameters:
winscp.com /command "open withdst" "do something what i want you to do"
Searchig for host... Network error: Connection refused.
How to get around this problem? I send data to a lot of servers which changes dynamically very often and setting all informations in .ini file in stored session for each server is not an option.