Topic "shell calls don't work for FTP"

Author Message


I am making calls to from the command line via my program. This works fine for sftp using certificates, but I cannot use the 'call' command to invoke commands remotely for ftp servers. I just need a way to ascertain if and when certain remote files exist on the ftp server.

For instance, when I type:

winscp> call ls

I get repetitive messages telling me that it is switching to ASCII mode, then to binary mode and finally "500 Unknown Command".

Any ideas:

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27086
Location: Prague, Czechia
With FTP you can execute only FTP commands with call. I'll update documentation to cover that.
Martin Prikryl

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