Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Passive Mode is always enabled, when using commandline mode

Thanks for your post. This issue has been added to tracker.
Valtar

Passive Mode is always enabled, when using commandline mode

WinScp Version: 4.3.2
OS: Windows XP Sp3
Transfer protocol: FTP
Console/command line mode
Command is like:
wincp.exe /console /log="%LOGDIR%\Synchronize.xml" /command "option batch on" "option confirm off" "open ftp://%user%:%password%@%server%:%port%/%Directory%/" "option transfer binary" "option include ""*.*""" "synchronize local -criteria=both -mirror -delete ""%LocalPath%""" exit

Problem:
Console WinScp is always connecting in passive mode. And there is no command-line switch, to disable PassiveMode (only to enable). And I need to use FTP without Passive Mode.

(Command line is Ok. It worked fine, when Passive Mode connection was possible)