Add Raw Setting is VBA

Advertisement

Franklin321
Joined:
Posts:
3
Location:
Cape Town

Add Raw Setting is VBA

Hi,

Any help would be of great assistance.

How do I add ProxyHost, ProxyPort, ProxyUsername, ProxyPassword to SessionOptions in VBA?

Regards,
Franklin

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,469
Location:
Prague, Czechia

Re: Add Raw Setting is VBA

I cannot try right now, but this should do:

Dim mySessionOptions As New SessionOptions
With mySessionOptions
    .Protocol = Protocol_Sftp
    .HostName = "example.com"
    .UserName = "user"
    ...
 
    .AddRawSettings "ProxyHost", "proxy"
    .AddRawSettings "ProxyPort", "90"
    ...
End With

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum