New 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 ArticleCreated Unassigned: SCPClient Issue [2629]
When trying to connect with a SCPClient, I recieve this:"Get-SCPFile : The WriteObject and WriteError methods cannot be called from outside the overrides of theBeginProcessing, ProcessRecord, and...
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 ArticleReviewed: 2014.4.6-beta2 (Feb 24, 2015)
Rated 5 Stars (out of 5) - This is a very intuitive framework for SFTP integration, allowing you to automate tasks dealing with authentication, file transfer etc. It is very easy to use and I found it...
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 ArticleCreated Unassigned: VS debugging crashes with SftpClient.UploadFile [2632]
Hello,I'm trying upload a file in the order of 800 MBs to a SFTP server. Once the statement is executed, for some time my machine waits in response & then it just exits. No breakpoints are hit...
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 ArticleCommented Unassigned: ForwardedPortDynamic dns resolving error [1797]
When using ForwardedPortDynamic() if you set your browser to send dns resolving requests to the socks server, SSH.Net will error with "An invalid IP address was specified". If you supply an IP address...
View ArticleCreated Unassigned: ForwardedPortDynamic dns resolving error [2633]
Hello.https://sshnet.codeplex.com/workitem/1797This bug and now are in the library. Please do something with it. Can check for whoer.net
View ArticleReviewed: 2014.4.6-beta2 (Mar 03, 2015)
Rated 4 Stars (out of 5) - This cmdlet tool is great tool, but the problem is I couldn't make it issue linux commands after I ssh into a server using powershell. Is there any documentation on how to...
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 Article