Topic "How to invoke active mode after version 4.3"

Author Message
clearsol

Guest


hi,

now that ftp defaults to passive mode in 4.3
how do i invoke active mode on command line or scripting ?
i tried -active but had no success.

Thx
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
There's no direct way yet. But read
http://winscp.net/eng/docs/faq_script_ini

Anyway, why do you prefer an active mode?

Last edited by martin on 2011-03-25; edited 1 time in total
clearsol

Guest


prikryl wrote:
There's no direct way yet. But read
url=http://winscp.net/eng/docs/faq_script_ini

Anyway, why to you prefer an active mode?


Hello Martin,
thx for the link.
I am connecting a farm of 10+ Servers round robin to a 1000+ wending machines from different companies, sitting behind different firewalls and all using the same public ip ranges - of course ...
NATing that is already a BIG pain and PASV would add a lot of configuration on systems out of my control.
So setting up sessions for all these machines, on all the servers on the Farm would not be very efficient, because there are always some of the wending machines in repair, or getting a new module resulting in a new fingerprint.
Not to mention adding new machines ...
I would be updating those sessions all day long ...
Now I am using a central database with all needed information - easily updated Wink but that requires scripting (vb.net) to connect.
I tryed setting up sessions on the fly, but that did not work, because having multiple instances of WinSCP running on each Server, everyone overwriting the changes I made while they where active, on exit.
Well I guess I stick to 4.2.9 for the time beeing Wink

Regards
clearsol
[View user's profile]

Joined: 2010-12-01
Posts: 1
Location: Germany
clearsol wrote:

I tryed setting up sessions on the fly, but that did not work, because having multiple instances of WinSCP running on each Server, everyone overwriting the changes I made while they where active, on exit.



'The ideas one gets AFTER pressing submit ...' Mr. Green
Well I guess I could use a custom .ini/session for each instance ...
and not the WinSCP.ini ... Embarassed

let me think about that ...
so - thx again for the faq_script_ini !!!

Huge Programm (and a great one !) - lots of Documentation ...
and well - who RTFM ? right Rolling Eyes
Guest




could you please tell me how can I enable active mode for one session with the ini files? I am noob, please be gentle.

I love winscp text editor and on the fly uploader
Thank you very much
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Anonymous wrote:
could you please tell me how can I enable active mode for one session with the ini files? I am noob, please be gentle.

I love winscp text editor and on the fly uploader
Thank you very much

You you are using GUI, just enable it in the GUI directly:
http://winscp.net/eng/docs/ui_login_connection
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
This issue has been added to tracker.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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