Topic "WRQ Reflection Hostname"

Author Message
Poggy

Guest


Hi together,

i want to set the ipadress (host name) to connect with telnet by a script before connecting.
Does anybody knows some tricks for me ?

Thx
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26730
Location: Prague, Czechia
Poggy wrote:
connect with telnet by a script before connecting

What does it mean?
Do you want to connect via telnet proxy?
_________________
Martin Prikryl
Poggy

Guest


No,

after a special date, the reflection has to connect to another ipadress.
So i want to check the date in a makro at start before connecting
and deside the ipadress.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26730
Location: Prague, Czechia
WinSCP script does not allow that. But you can of course use another scripting language for the decision.
_________________
Martin Prikryl
Poggy

Guest


So i can not write like that ...

Privat Sub Before_Connecting()

// check date If Then ...

Set Host = "192.168.0.1"

else

Set Host = "192.168.0.2"

endif

Connect

end sub

????

Do you have an other idea supportet by Reflection for Unix and Digital ??
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26730
Location: Prague, Czechia
As mentioned before, use you preferred scripting language to assemble the WinSCP script.
See documentation.
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License