File saving in remote public server via Proxy in WinSCP - FTP

Can anyone help to save the file in WinSCP Destination IP through Proxy.
We have the internal FTP packages in UiPath that does not have Proxy settings as input parameter.

Here is the code if anyone can hep with invoke code for the same as I am getting compilation errors :

’ Set up session options
Dim sessionOptions As New SessionOptions
With sessionOptions
.Protocol = Protocol.Sftp
.HostName = “”
.PortNumber = 6001
.UserName = “airp1”
.Password = “XXXXXX”
.SshHostKeyFingerprint = “ssh-rsa 2048 N7dFxOMegGid4J/llRmSNx7h7XapgbsDbWtCM7snTGI=”
End With

sessionOptions.AddRawSettings(“ProxyMethod”, “3”)
sessionOptions.AddRawSettings(“ProxyHost”, “”)
sessionOptions.AddRawSettings(“ProxyPort”, “4145”)
sessionOptions.AddRawSettings(“ProxyUsername”, “oneairtel%5CA10XLIBD”)
sessionOptions.AddRawSettings(“ProxyLocalhost”, “1”)
sessionOptions.AddRawSettings(“ProxyPassword”, “o5]Gacjq”)

Using session As New Session
’ Connect

' Your code

End Using

@ermanoj3101 , @ppr , @Yoichi , @sonaliaggarwal47 , @prasath17 , @Palaniyappan
Please help.