Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
jockymac

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?