Topic "set active mode in script"

Author Message
[View user's profile]

Joined: 2011-11-11
Posts: 2
I see that version 5.0.2 had an "Option to enable active mode with FTP protocol in scripting"
I have a need to do that but can not figure out how to set it in my script.
I have no trouble doing it interactively but i really need to have my script set it on the site i am connecting to.

p.s. i am using WinSCP version 5.0.5
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Use "open -passive=off ...".
Martin Prikryl
[View user's profile]

Joined: 2011-11-11
Posts: 2
Thank you, that works fine! that's exactally what i was looking for. I tried putting the "passive=off" command every else EXCEPT right after the open command.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License