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

Franklin321

Re: Add Raw Setting is VBA

martin wrote:

OK, the brackets should not be there. See corrected example above.


Thanks alot Prikryl. It worked after adding a couple of other rawsettings for the connection.
martin

Re: Add Raw Setting is VBA

OK, the brackets should not be there. See corrected example above.
Franklin321

Re: Add Raw Setting is VBA

Thanks for the feedback.

I tried your suggested implementation but it produces a syntax error.
martin

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
Franklin321

Add Raw Setting is VBA

Hi,

Any help would be of great assistance.

How to i add proxyHost, ProxyPort, ProxyUsername, ProxyPassword to SessionOptions in VBA

Regards,
Franklin