New Post: File Corrupt After SFTP Upload
Hi,What if you don't change buffer size and use default ones?I made some changes to default sizes in hope it should work by default. Also,How do you determine that it is corrupt? Thanks,Oleg
View ArticleNew Post: Where are the errors ?
Hmm,Thats I will need to investigate I guess. Since I am not a UNIX person I will need some help with that :(:(How can I set up similar environment on my server?What I mean is how to create a user who...
View ArticleNew Post: Delete Symbolic Link
I actually just tried to delete link, after file it was linked to was deleted and it worked. I used this code to delete it: sftp.Delete("t1");Did you use latest source code version?Thanks,Oleg
View ArticleNew Post: File Corrupt After SFTP Upload
Hi Oleg,If I do not change the buffer size, it would only let me upload the files that are < 1024*32-38 (the default buffer size)I can go to the ftp server and check the file. Sometimes it uploads...
View ArticleNew Post: File Corrupt After SFTP Upload
Hi, Can you please download latest commit version since I changed default size now to be only 16K and not 32K - 38? Thanks,Oleg
View ArticleNew Post: SCP : Missing files when using DirectoryUpload
Hi, Does it happens all the time?How can I recreate this problem?I just tried to upload multiple directory structure but it worked with no problem. Thanks,Oleg
View ArticleNew Post: Vb.net Async
Hello, i hope the question hasn't allready been answered, i've looked extensevly.I want to declare a ssh client publicly.In a sub configure the client, connect and send a command. The result for my...
View ArticleNew Post: File Corrupt After SFTP Upload
Hi Oleg,I downloaded the latest release. The 12/20/2012 one and used it.I tried to upload a jpg of size 76587 B but it wont upload properly.I did not tamper with the buffersize.Thanks!
View ArticleNew Post: Does SftpClient.UploadFile overwrite existing files?
Hi,Sorry for getting back to you that late. I tried to reproduce the situation you described but with no luck.Also, all upload operations I start with those flags Flags.Write | Flags.TruncateSo it will...
View ArticleNew Post: Does SftpClient.UploadFile overwrite existing files?
Here is a project that reproduce the problem.I provided files in order to test, and a final.txt file, that correspond to the result.You just need to change the connections information and file...
View ArticleNew Post: Delete Symbolic Link
Hi!I updated to the lastest source code and still get the problem.The first time I call sftp.Delete("linkToFile"); it deletes the file linked to the link. The second time I call...
View ArticleNew Post: Shell functionlity
Hi all, i have created ShellStream, from SshClient. i m facing a problem while checking that output of the shell stream contains my user promt or not. Previously i was checking it using Regex class...
View ArticleNew Post: SSH.net Port Forward Mysql
I have a button in an app that when pressed will establish a connection with a SSH Server and portforward to a mysql server. The issue is, I can't seem to correctly establish a tunnel connection with...
View ArticleNew Post: Exception Message that is blank quotes
I am attempting to use the sftpclient 's method UploadFile and it is returning and exception of "".I can't find the root cause of this issue.I have tried changing directories and pushing the file but...
View ArticleNew Post: SSH.net Port Forward Mysql
I have attached a screenshot of what is going on when i run the app and it cannot connect to the mysql server when using the ssh.net library (WITH CODE ABOVE) HOWEVER IF I DO NOT USE SSH.NET LIbrary...
View ArticleNew Post: Adding events to shell
Hi, Sorry for delay, Unfortunately there are no events and I don't think it possible to make them.All communication to and from shell is based on what characters do you send and different terminals can...
View ArticleNew Post: Shell functionlity
Hi,m For this reason, where you need to handle multiple prompts you have Expect method with ExpectAction parameters where you can specify what to do for each individual prompt. Thanks,Oleg
View ArticleNew Post: Exception Message that is blank quotes
The reason the error message is blank is because thats what I receive from the server, so I simply wrapping it into exception and throwing it back to the user.Unfortunately I dont have any advise on...
View ArticleNew Post: Delete Symbolic Link
Hmm,I am wondering if that could be a server issue, may be some server will allow delete of symlink using SFTP and some not.Did you tried the same behavior on different server? is that the same?Is it...
View Article