shell calls don't work for FTP

Advertisement

JohnA
Guest

shell calls don't work for FTP

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,790
Location:
Prague, Czechia

Re: shell calls don't work for FTP

With FTP you can execute only FTP commands with call. I'll update documentation to cover that.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum