|
Assassins?
2 x ASS + I assume that you're IN the Southern hemisphere ...
Slogans aren't solutions.
|
|
|
|
|
That was quick! Well done, Mr Thursday.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
...can be found here[^].
What's more, it's written by our very own @DanNeely[^]!
/ravi
|
|
|
|
|
Pity it describes something other than Diffie-Hellman key exchange. See for example Diffie–Hellman key exchange - Wikipedia[^]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Well the guy below Dan did it right
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
... and Bob was honored to be mentioned in the explanation ...
|
|
|
|
|
From what I read, his analogy was not very accurate, as some of the commenters pointed out. Just saying...
|
|
|
|
|
Actually it's a plain English explanation of securely shipping something in a box.
|
|
|
|
|
It called Three Pass Exchange - and considered to be less secure that DH(M)..
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
ROTFL - Indeed.
If you want a more understandable explanation of this box thing, you can have a look at the Three Pass Exchange[^]
|
|
|
|
|
Outstanding
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
I've always wondered that, and it's such a PITA trying to actually find a library that works.
Marc
|
|
|
|
|
No built-in SFTP or SCP to my knowledge but you do get FtpWebRequest and FtpWebResponse for FTP. WebClient also supports FTP downloads.
|
|
|
|
|
|
Snazzy - I'll take a look. Thanks!
Marc
|
|
|
|
|
SFTP is not supported as it is FTP over SSH, a completely different protocol (use SSH.NET for that)
Oops.
Marc
|
|
|
|
|
The most complete library I know of is SSH.NET[^].
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Brisingr Aerowing wrote: The most complete library I know of is SSH.NET[^].
Ah, I just came across the resurrected version of it (resurrected from sourceforge, onto CodePlex, and now moved to GitHub )
Marc
|
|
|
|
|
Brisingr Aerowing wrote: The most complete library I know of is SSH.NET[^].
And we have a winner.
Marc
|
|
|
|
|
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
I don't know. I played around with WinSCP for a couple of days in December because we switched from FTP to FTPS and had to rewrite some legacy code. After reading this forum, I'll take a look at SSH.net next time.
|
|
|
|
|
5 lines of code to do a file upload:
SftpClient sftp = new SftpClient("192.168.0.3", "[username]", "[password]");
sftp.Connect();
var st = new FileStream(@"c:\foo.txt", FileMode.Open);
sftp.UploadFile(st, "/home/debian/foo.txt");
sftp.Disconnect();
The only nuance was that the target (second parameter) must also include the filename. The WinSCP.NET dll implementation doesn't require this. With SSH.NET, finding that was a bit annoying, as the exception message was "Failure!" That was helpful. Had to read through a couple forums with people having the same error to find someone that posted "you need the filename on the destination path."
Marc
|
|
|
|
|
jgakenhe wrote: switched from FTP to FTPS
Just to make sure everyone reading this thread understands there is a difference between SFTP and FTPS.
WinSCP does not do FTPS as far as I can tell; it does SFTP. SFTP basically wraps copying files with SCP (which in turn uses SSH), and FTPS is FTP over SSL. These follow very different protocols to achieve the same result.
|
|
|
|
|
Yes you're right, it is FTP over SSL. WinSCP has some documentation on FTPS at: FTPS :: WinSCP[^].
|
|
|
|
|
Ok, thanks. I did not see that information.
|
|
|
|