Topic "Подключение из 1с"

Author Message
Sergey 1c

Guest


sessionOptions = Новый COMОбъект("WinSCP.SessionOptions"); //Создаем объект SessionOptions
sessionOptions.Protocol = "WebDAV"; // вот тут надо как-то указать протокол
sessionOptions.HostName = "Наш хост";
sessionOptions.UserName = "Логин";
sessionOptions.Password = "Пароль";
sessionOptions.PortNumber = 443; // тут всегда 443 порт
sessionOptions.SshHostKeyFingerprint = "Ключь";

Вопрос как указать Протокол и режим шифрования? Кто-нибудь подключал WinSCP из 1с с протоколом WebDAV ?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25966
Location: Prague, Czechia
Set the SessionOptions.WebdavSecure
https://winscp.net/eng/docs/library_sessionoptions

Do not set the PortNumber and the SshHostKeyFingerprint.
Guest




martin wrote:
Set the SessionOptions.WebdavSecure
https://winscp.net/eng/docs/library_sessionoptions

Do not set the PortNumber and the SshHostKeyFingerprint.



Спасибо..все заработало...
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