Post a reply

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: 1С WinSCP.SessionOptions Protocol

Do I understand correctly, that you have solved your problem?
IlyaNizamov

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/