Topic "shell calls don't work for FTP"

Author Message
JohnA

Guest


I am making calls to WinScp.com 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:

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
With FTP you can execute only FTP commands with call. I'll update documentation to cover that.
_________________
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