Click here to Skip to main content
15,915,869 members
Home / Discussions / C#
   

C#

 
GeneralAutomaticly convert VB.Net to C# Pin
Hmitosh21-Mar-05 2:03
Hmitosh21-Mar-05 2:03 
GeneralRe: Automaticly convert VB.Net to C# Pin
Dave Kreskowiak21-Mar-05 2:22
mveDave Kreskowiak21-Mar-05 2:22 
GeneralRe: Automaticly convert VB.Net to C# Pin
Dave Doknjas21-Mar-05 5:00
Dave Doknjas21-Mar-05 5:00 
GeneralTreeView Help Pin
Micu Radu21-Mar-05 1:56
Micu Radu21-Mar-05 1:56 
GeneralRe: TreeView Help Pin
Mircea Puiu21-Mar-05 5:23
Mircea Puiu21-Mar-05 5:23 
GeneralRe: TreeView Help Pin
Micu Radu21-Mar-05 5:29
Micu Radu21-Mar-05 5:29 
GeneralRe: TreeView Help Pin
Micu Radu21-Mar-05 5:32
Micu Radu21-Mar-05 5:32 
GeneralSecurityexception connecting to glftpd 2.0 Pin
Azraelgod21-Mar-05 1:53
Azraelgod21-Mar-05 1:53 
Hi!
I`m tryng to connect to a ftp-server which allows only a secure connection. Connecting with Flashfpx it works with both "auth ssl" and "auth tls", but when i try to do it with the menatils security-library and the example ftp-client i get this exception:

220 (glFTPd 2.00 Linux+TLS) ready.
AUTH TLS
234 AUTH TLS successful
Org.Mentalis.Security.SecurityException: An error occurs while communicating with the remote host. ---> Org.Mentalis.Security.Ssl.Shared.SslException: The server hello message uses a protocol that was not recognized.
at Org.Mentalis.Security.Ssl.Shared.CompatibilityLayer.ProcessServerHello(Byte[] bytes, Int32 offset, Int32 size) in D:\ssh-server\seclib-1.0\seclib\Security\Ssl\Shared\CompatibilityLayer.cs:line 80
at Org.Mentalis.Security.Ssl.Shared.CompatibilityLayer.ProcessHello(Byte[] bytes, Int32 offset, Int32 size) in D:\ssh-server\seclib-1.0\seclib\Security\Ssl\Shared\CompatibilityLayer.cs:line 71
at Org.Mentalis.Security.Ssl.Shared.SocketController.OnReceive(IAsyncResult ar) in D:\ssh-server\seclib-1.0\seclib\Security\Ssl\Shared\SocketController.cs:line 82
--- End of inner exception stack trace ---
at Org.Mentalis.Security.Ssl.SecureSocket.EndSend(IAsyncResult asyncResult) in d:\ssh-server\seclib-1.0\seclib\security\ssl\securesocket.cs:line 380
at Org.Mentalis.Security.Ssl.SecureSocket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) in d:\ssh-server\seclib-1.0\seclib\security\ssl\securesocket.cs:line 326
at FtpClient.SendCommand(String command) in d:\csharpproggies\windowsapplication1\ftpclient.cs:line 146
at FtpClient.DownloadFile(Url url, Int32 choice) in d:\csharpproggies\windowsapplication1\ftpclient.cs:line 115
at FtpClient.Start() in d:\csharpproggies\windowsapplication1\ftpclient.cs:line 91
at FtpClient.Main(String[] args) in d:\csharpproggies\windowsapplication1\ftpclient.cs:line 48

I´ve read somewhere that the menatlis-library didn´t support dhe/dss and the server seems to need this. Here´s a part of the log when connecting with FlashFXP:
[R] AUTH SSL
[R] 234 AUTH SSL successful
[R] Connected. Negotiating SSL session..
[R] SSL negotiation successful...
[R] SSL encrypted session using cipher DHE-DSS-AES256-SHA (256 bits)
[R] PBSZ 0
[R] 200 PBSZ 0 successful

I´ve been told OpenSSL would support this authenticationmode, but i don´t have a clue how to use this library in my project. Any suggestions and help will be appreciated.

Azrael
GeneralUndo for VS add-Ins Pin
Boniolopez21-Mar-05 1:50
Boniolopez21-Mar-05 1:50 
Generalcopying reference variables Pin
suzyb21-Mar-05 1:50
suzyb21-Mar-05 1:50 
GeneralRe: copying reference variables Pin
leppie21-Mar-05 2:14
leppie21-Mar-05 2:14 
GeneralRe: copying reference variables Pin
J4amieC21-Mar-05 2:34
J4amieC21-Mar-05 2:34 
GeneralRe: copying reference variables Pin
suzyb21-Mar-05 4:08
suzyb21-Mar-05 4:08 
GeneralImage Gallery Control! Pin
Micu Radu21-Mar-05 1:49
Micu Radu21-Mar-05 1:49 
GeneralDocument/View separation in MFC Pin
Rei Miyasaka20-Mar-05 23:58
Rei Miyasaka20-Mar-05 23:58 
GeneralRe: Document/View separation in MFC Pin
Colin Angus Mackay21-Mar-05 0:28
Colin Angus Mackay21-Mar-05 0:28 
GeneralRe: Document/View separation in MFC Pin
Rei Miyasaka21-Mar-05 0:40
Rei Miyasaka21-Mar-05 0:40 
QuestionHow to handle powerpoint? Pin
abandito20-Mar-05 23:31
abandito20-Mar-05 23:31 
GeneralInterprocess communication Pin
ppp00120-Mar-05 23:03
ppp00120-Mar-05 23:03 
Generalmapi message .. urgent help needed Pin
sheri198120-Mar-05 22:50
sheri198120-Mar-05 22:50 
GeneralCan't detect previous version of Applcation Pin
azusakt20-Mar-05 22:05
azusakt20-Mar-05 22:05 
GeneralUnable to remove assembly from Cache Pin
Adnan Siddiqi20-Mar-05 21:17
Adnan Siddiqi20-Mar-05 21:17 
GeneralRe: Unable to remove assembly from Cache Pin
Adnan Siddiqi20-Mar-05 21:21
Adnan Siddiqi20-Mar-05 21:21 
GeneralWhy o why? Pin
leppie20-Mar-05 21:46
leppie20-Mar-05 21:46 
Generalabout the comminly used classes in .net Pin
satishrg20-Mar-05 18:46
satishrg20-Mar-05 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.