Topic "Custom INI File for Keepalives Setting"

Author Message
[View user's profile]

Joined: 2012-08-08
Posts: 1
Location: Chicago
I am attempting to set the Keepalives setting for FTP (Executing dummy protocol commands) Seconds between keepalives to 10 seconds in a custom INI file. I have put the following seetings in a INI file called myinifile(FSProtocol=5, FtpPingInterval=10,FtpPasvMode=1). My process start info looks like this:
With startInfo
.FileName = ""
.Arguments "/ini=myinifile.ini /log=log.txt"
.RedirectStandardInput = True
.RedirectStandardOutput = True
.RedirectStandardError = True
.UseShellExecute = False
.CreateNoWindow = True
.WindowStyle = ProcessWindowStyle.Hidden
End With

My custom ini file is being written to but it does not appear to be setting the Keepalives in the ftp. The log file shows (Transfer Protocol: FTP Ping type: C, Ping interval: 30 sec; Timeout: 15 sec) How can I confirm that the keepalives is being set and working correctly.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Try using
open -rawsettings FtpPingInterval=10
(You need to use 5.0.x to use -rawsettings switch).

Anyway, I recommend you use the WinSCP .NET assembly:
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License