New Post: Looking for help getting started
I'm brand new to the concept of FTP, SSH, SFTP, that sort of thing. While looking for a way to interact with SFTP in C#, I came across this library. After spending a few hours reading through the...
View ArticleNew Post: Looking for help getting started
Not quite sure what you're looking for, but in thinking about some things that might cause confusion to someone just getting started I can think of the following grossly oversimplified comments: FTP is...
View ArticleNew Post: Exception on Disconnect "An established connection was aborted by...
I'm getting a SocketException when calling Disconnect(). I dug through the code and can see what's happening: In BaseClient.cs we have this: public void Disconnect() { ... OnDisconnecting(); // <---...
View ArticleNew Post: Looking for help getting started
Wow, that's way more than I was expecting! Thank you so much! I wasn't too familiar with the different FTP protocols, so your explanation was very helpful. :)
View ArticleNew Post: Looking for help getting started
Your welcome! I'm also hoping it will help others just getting into it too. Let us know if you're able to successfully get something going and what, if anything you think someone else might get hung up...
View ArticleNew Post: Looking for help getting started
I saw that someone a while back had considered writing a tutorial, but all helpful documentation on this seems to be in this forum. Your post has been the most helpful thing I've seen thus far for the...
View ArticleNew Post: Identifying that a command has finished (ShellStream)
Did you open an ssh connection to the remote machine, get a "shell" and then execute "./interactive_command.sh" within that shell? If that's the case, then there's really no way for the "connection"...
View ArticleNew Post: Has anyone used Credential Manager?
I was wondering if anyone here has used/has a comment on using Windows Credential Manager? I have a library we've written that implements logging onto various providers websites, ftp, and with a little...
View ArticleNew Post: Identifying that a command has finished (ShellStream)
We have solved our local problem (as far as I understand, it is not a general solution) by adding into source code overloaded version of RunCommand(, Action<> InteractiveResponse). We have found...
View ArticleNew Post: Identifying that a command has finished (ShellStream)
I didn't realize you were simply attempting to respond to the prompts. I thought you were trying to figure out when the whole program had finished executing. The Channel_DataReceived() bit is good to...
View ArticleNew Post: Has anyone used Credential Manager?
In powershell, there are two very usefull functions to store Passwords in local files: 1) ConvertTo-SecureString 2) ConvertFrom-SecureString Load securestring Password from file: $securepassword =...
View ArticleNew Post: Files not getting uploaded (possibly???)
You should modify your program and check if your file is available (after upload).
View ArticleNew Post: Files not getting uploaded (possibly???)
The client even has a convenient call just for that (it throws an exception if the file can't be found): Renci.SshNet.Sftp.SftpFile uploadedFile = ftpClient.Get(x12File.Name)
View ArticleNew Post: Has anyone used Credential Manager?
That's a pretty convenient way to implement storing/retrieved encoded strings in PowerShell. I likely have some uses for that. :) Regarding comparing this to Windows Credential Manager or the SQL DB...
View ArticleNew Post: Has anyone used Credential Manager?
Hi Mike, the suggestion was made because it is very simple to provide a sample program where you don't want to keep Passwords visible. It is very simple to make a sample program and instruct the user...
View ArticleNew Post: Mocking the SftpClient
I'm trying to write unit tests for my application which uses the SftpClient class and I want to inject a mock (using Moq) of the SftpClient object, however I'm really struggling to manage this. I was...
View ArticleNew Post: How to cancel the ssh shell
i have completed the shell function ,and now , i need add a new function that cancel the shell while shell is running. client = new SshClient(ip,user,password); client.ConnectionInfo.Encoding =...
View ArticleNew Post: How to input commands
Guys, I need help using this cmdlet. I was able to login to a linux server successfully but I could issue any linux commands. Is there a documentation on how to use this script. Thanks
View ArticleNew Post: SSH connection issue
Thanks subba, you posted the code i needed. Now it works for both AIX and LINUX. thank you Oleg for this great software. regards jmueller1
View ArticleNew Post: Error when I login to a linux server
I'm receive errors when I login to some linux machines, the error is: "Unable to connect to watcher: Exception calling "Connect" with "0" argument(s): "No suitable authentication method found to...
View Article