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

martin

Re: Can't create Session via Proxy in .Net Assembly [5.2.5 beta]

This bug is being tracked already:
https://winscp.net/tracker/1083

I have sent you an email with a development version of WinSCP to address you have used to register on this forum.
iceporing

Re: Can't create Session via Proxy in .Net Assembly [5.2.5 beta]

martin wrote:


Please attach a full session log file showing the problem (using the both versions of WinSCP).


I have attached both the debug and session log using both the versions.
martin

Re: Can't create Session via Proxy in .Net Assembly [5.2.5 beta]

iceporing wrote:

I generated the logs and it says it failed due to incorrect password, but the same script works perfectly when i use the current stable release.

Please attach a full session log file showing the problem (using the both versions of WinSCP).

To generate log file, set Session.SessionLogPath. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
iceporing

Can't create Session via Proxy in .Net Assembly [5.2.5 beta]

Hi,

It looks like a bug.

I have a tunnel setup already on my computer and want to use the new ,advanced features such as ignoring certificates,File transfer Progress..etc available in the beta library.

How ever I can't seem to establish a session via the proxy using the new beta .NET Assembly Libraries.

I'm using powershell and setting up the proxy settings via :
   $sessionOptions.AddRawSettings("ProxyMethod", "2") 

   $sessionOptions.AddRawSettings("ProxyHost", "127.0.0.1")
   $sessionOptions.AddRawSettings("ProxyPort", "9000")


I get the error "Connection has been unexpectedly closed. Server sent command exit status 0."

I generated the logs and it says it failed due to incorrect password, but the same script works perfectly when i use the current stable release.