Topic "SessionOptions.Protocol issue"

Author Message
plugitin
[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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26480
Location: Prague, Czechia
The values are not documented.

Though you can find them in source code:
http://winscp.cvs.sourceforge.net/viewvc/winscp/winscp3/dotnet/SessionOptions.cs?revision=1.8&view=markup
Advertisements

You can post new topics in this forum






Search

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