Topic "Optimize connection buffer size"

Author Message
srjones67
[View user's profile]

Joined: 2010-08-18
Posts: 3
I am receiving the message that I have noted in the subject:

Host is not communicating for more than 15 seconds.
Still waiting...
Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
Warning: Aborting this operation will close connection!
(A)bort (58 s):

I made what I thought was the proper adjustment but it's still occurring. The transfer completes but I repeatedly get the error. This is the command that I am executing:

"C:\Support\Utils\WinSCP\winscp" /script=C:\Support\Scripts\CorrectAddress\CA_Update_Get.txt /parameter "user:pw" "site.url.com" "/CorrectAddress/Geocoder" "C:\Support\Scripts\CorrectAddress\incoming\Geocoder\" "*.*" /rawconfig SendBuf=0 /loglevel=0 /loglevel=0 /log=C:\Support\Logs\CA_Update_Get_2017-09-15.log

Any help would be appreciated.
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27058
Location: Prague, Czechia
You have to add -rawconfig SendBuf=0 to the open command within the CA_Update_Get.txt
srjones67
[View user's profile]

Joined: 2010-08-18
Posts: 3
I'm getting this error with that change: Too many parameters for command 'open'.

This is my open command in CA_Update_Get.txt: open sftp://%1%@%2% -rawconfig SendBuf=0

I did remove the /rawconfig SendBuf=0 from the calling command. If I change -rawconfig SendBuf=0 to -rawsettings SendBuf=0 it seems to work.

Update: -rawconfig on open command yields too many parameters. -rawsettings gives no parameter error but still get try turning off 'Optimize connection buffer size.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27058
Location: Prague, Czechia
Are you using the latest version of WinSCP?

If you are, please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Vann_the_Red

Guest


martin wrote:
Are you using the latest version of WinSCP?

If you are, please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.


I found this thread because I was experiencing the exact same problem as the OP. I turned on logging as Martin directed. It immediately started working. No idea why logging the session mattered, but that seems to have done it.

VtR
Advertisements

You can post new topics in this forum

Search

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