1С WinSCP.SessionOptions Protocol
The SessionOptions object has the FtpSecure (ftpsecure constant), Protocol (Protocol constant) property. As in 1C to these konstanty not clear.
In PERL you can get it:
# Load constants
my $consts = Win32:: OLE:: Const - >Load($session);
In 1C, you can only create an object and pass the parameters only as String.
sessionOptions = NEW COMObject("WinSCP.SessionOptions");
sessionOptions.FTPsecure = "FtpSecure.Explicit";
SessionOptions.Protocol = "Protocol.ftp";
Description 1C can be read here.
https://1c-dn.com/1c_enterprise/what_is_1c_enterprise/
In PERL you can get it:
# Load constants
my $consts = Win32:: OLE:: Const - >Load($session);
In 1C, you can only create an object and pass the parameters only as String.
sessionOptions = NEW COMObject("WinSCP.SessionOptions");
sessionOptions.FTPsecure = "FtpSecure.Explicit";
SessionOptions.Protocol = "Protocol.ftp";
Description 1C can be read here.
https://1c-dn.com/1c_enterprise/what_is_1c_enterprise/