Issue using the call command through the winscp.com command line interface

Advertisement

jockymac
Joined:
Posts:
3
Location:
Canada

Issue using the call command through the winscp.com command line interface

I am converting a Windows script to change from using ftp.exe to winscp.com. I have installed version 5.13.4.
The ftp version of the script uses the "quote" command to execute commands on the remote server. The commands are things like "blksize=20000". I have changed the script to use the "call" command instead of "quote" as per the documentation.
I start my session using a command like ...
winscp.com
open sftp://svc_oracle:Banctec01@remotehostname:22

In my script and if I enter the commands from a winscp.com prompt, the call command always fails saying that the host is not communicating for more than 15 seconds. After a minute it times out.
Am I using the "call" command incorrectly?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,263
Location:
Prague, Czechia

Re: Issue using the call command through the winscp.com command line interface

blksize=20000 is FTP-only thing. You cannot convert it to SFTP. You can most probably just skip that command.

Reply with quote

Advertisement

You can post new topics in this forum