Topic "PASV command is disabled. Use PORT command."

Author Message
AEMehser

Guest


when running my batch I get the following message:

PASV command is disabled. Use PORT command.

as I understand, this FTP server only accepts active mode.
But how can I switch to active mode (and send the server my port)?

Pls help,
I'm amateur, pls be gentle.

many thanks
Alex
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Use -passive=off switch of open command:
http://winscp.net/eng/docs/scriptcommand_open
_________________
Martin Prikryl
Guest




And I dont have to set the port when switching to passive mode?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Anonymous wrote:
And I dont have to set the port when switching to passive mode?

Do you mean the FTP server port to connect to? No, it's 21 still, no matter if passive or active mode it used.
_________________
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