Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: How to make the GUI visible when loading WiSCP in .NET mode?

There's no GUI in WinSCP .NET.
If you need GUI with a session, just run winscp.exe and pass a session URL to it on commandline.
Please see https://winscp.net/eng/docs/commandline
kuzyaka

How to make the GUI visible when loading WiSCP in .NET mode?

Dim sessionOptions As New SessionOptions
With sessionOptions
  .Protocol = Protocol.Ftp
  .HostName = strHostName
  .UserName = "data"
  .AddRawSettings("ProxyMethod", "2")
  .AddRawSettings("ProxyHost", "127.0.0.1")
  .AddRawSettings("ProxyPort", "" & intProxyPort & "")
End With
 
Using session As New Session
  session.Open(sessionOptions)
End Using