|
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.
|
|
|
|
|
WinSCP .NET Assembly is an option
"The WinSCP .NET assembly winscpnet.dll is a .NET wrapper around WinSCP’s scripting interface that allows your code to connect to a remote machine and manipulate remote files over SFTP, FTP, WebDAV and SCP sessions from .NET languages, such as C#, VB.NET, and others, or from environments supporting .NET, such as PowerShell, SQL Server Integration Services (SSIS), ASP.NET and Microsoft Azure WebSite." winscp.net
|
|
|
|
|
I did get the WinSCP.NET assembly working (quite easily) but it requires that the exe be installed, whereas ssh.net worked just as easily without any dependencies. Also, when I tried WinSCP.NET, I had an older version of the exe, and got an incompatibility exception, so I don't want to create the added annoyance of having to make sure the exe and dll are sync'd.
Marc
|
|
|
|
|
|
Brisingr Aerowing wrote: NSFW
Which does not belong in the lounge, if you've bothered to read the guidelines.
|
|
|
|
|
It's just a pillowcase printed with a picture of Nick Cage, during his "I need to attract more gay fans" period.
I think what Brisingr meant was that it's Not Safe For Anywhere.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Click bait. Now Amazon will start suggesting poop and pillows to whoever clicks this. Why did I take the red pill?
|
|
|
|
|
Click-bait it ain't, for four clear reasons:
0. There is no advertising on the page, at all.
1. It doesn't make you click through several ad-filled pages, before finally allowing you to do the click that you go there for.
2. It isn't "filled" with fifty words of badly written text on a poorly thought out topic, which describes itself as "an article".
3. It is actually quite a fun idea.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
True. But all I'm saying is the ad push comes after you click on them.
|
|
|
|
|
Yeah, well, from sales sites, you expect crassness.
It doesn't look like the guy made the site for money; he did it for a laugh.
That's fine by me. I'd have a beer with him.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|