Topic "optimize connection buffer size in my winscp5.7.7"

Author Message
rafikul

Guest


Dear team,

I am not able to connect a system and got message that Host is not communicating for more than 15 seconds...if problem reoccurs try turning off optimize connection buffer size . But I am using winscp5.7.7 and dont find this option. Could you please guide me where exactly this option is or how to resolve this issue.

Regards,
Rafikul
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
See https://winscp.net/eng/docs/ui_login_connection
aman.jboy@...

Guest


Can we do it through C# coding as well.The Host is not communicating for more than 15 seconds.

winscp.StandardInput.WriteLine(sftpUsername);
winscp.StandardInput.WriteLine(sftppassword);
winscp.StandardInput.WriteLine("dir");
winscp.StandardInput.WriteLine("ls");
winscp.StandardInput.WriteLine("mkdir " + path); // path is the folder structure that needs to be created
winscp.StandardInput.WriteLine("cd " + path); // path travesered.
winscp.StandardInput.WriteLine("put " + zippath); // file needs to be put from my system
winscp.StandardInput.Close();
string output = winscp.StandardOutput.ReadToEnd();
LogMessageToFile(output);

Is there a better approach
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
aman.jboy@... wrote:
Can we do it through C# coding as well.The Host is not communicating for more than 15 seconds.

See https://winscp.net/eng/docs/rawsettings

Though, in C#, you should use .NET assembly:
https://winscp.net/eng/docs/library
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