Topic "SessionOptions.Protocol issue"

Author Message
[View user's profile]

Joined: 2017-01-24
Posts: 2
Location: UK
Hi please bare with me as a newbee. I am using the COM automation of WinSCP and I am writing an FTP module into IBM (Lotus) Domino using LotusScript (Visual Basic of sorts). One area I see there is an issue is specifying the SessionOptions.Protocol = Protocol_Ftp . I dont have the luxury of using the <job> Java work around. So I have played about and noted that if I interrogated the value for a default SessionOptions returned a numeric string. So thinking there may be a numeric representation for FTP I tried until I noted this worked SessionOptions.Protocol = 2 for basic FTP. As I can find no documentation on these numeric values could you please tell me what are the correct values for each type of protocol transfer
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
The values are not documented.

Though you can find them in source code:

You can post new topics in this forum


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