olegkap_cp
be896dc88a
Fix Buffer.BlockCopy error in SftpFileStream.Write method
2011-06-21 20:14:54 +00:00
olegkap_cp
ef83707843
Fix FileMode.Create behaviour for SftpFileStream class
2011-06-21 20:00:22 +00:00
olegkap_cp
b248dcc75f
Rename SshFileNotFoundException to SftpPathNotFoundException to include file and direcotry errors and to be more SFTP specific.
...
Rename SshPermissionDeniedException to SftpPermissionDeniedException to specify SFTP specific exception.
2011-06-21 19:18:50 +00:00
olegkap_cp
3e770696ae
Fix ChangeDirectory method
...
Fix GetCanonicalPath method
Add tests for ChangeDirectory
2011-06-21 19:13:34 +00:00
olegkap_cp
6411f723ca
Remove call to Stop method to prevent dead lock in local port forwarding
2011-06-21 16:56:03 +00:00
olegkap_cp
be0dbf600e
Add support for validation of IPv6 addresses
2011-06-13 13:46:09 +00:00
olegkap_cp
2bea9352eb
Refactor SftpFileAttributes class to be public
...
Add SetAttributes and GetAttributes methods
2011-06-07 20:25:12 +00:00
olegkap_cp
4d79078a70
Add SftpFileStream class
...
Add Sftp file methods to SftpClient class, similar to File class methods
2011-06-07 18:50:08 +00:00
Kenneth_aa_cp
3156167c0d
Added test for #713 .
...
Added test Test_PortForwarding_Local_Stop_Hangs_On_Wait.
2011-05-19 09:01:21 +00:00
olegkap_cp
a1b3ce729b
Fix async SFTP operations and ensure that only valid asyncResult objct can be used with End* operation
2011-05-18 15:24:03 +00:00
olegkap_cp
e9167373f7
Add new method to Extensions class for test purposes
...
Add argument checking based on test
Correct some tests and add few more
2011-05-16 14:06:13 +00:00
Kenneth_aa_cp
8e7e93fc7e
Fixed some tests to prevent certain tests to be run as root, for idiot-proofing and to prevent a test to succeed where it should fail.
2011-05-15 18:25:24 +00:00
Kenneth_aa_cp
27a87a8c29
Added tests for PortForwardEventArgs.
...
Added Test_PortForwardEventArgs_Host_Null
Added Test_PortForwardEventArgs_Host_Empty
Added Test_PortForwardEventArgs_Port_Invalid
2011-05-15 17:25:55 +00:00
Kenneth_aa_cp
b44c1679fc
Added tests related to port forwarding, local and remote for null/string.Empty and invalid port numbers.
...
Added Test_AddForwardedPort_Local_Hosts_Are_Null.
Added Test_AddForwardedPort_Local_Hosts_Are_Empty.
Added Test_AddForwardedPort_Remote_Hosts_Are_Null.
Added Test_AddForwardedPort_Remote_Hosts_Are_Empty.
Added Test_AddForwardedPort_Local_Hosts_Are_Empty.
Added Test_AddForwardedPort_Invalid_PortNumber.
2011-05-15 17:13:47 +00:00
Kenneth_aa_cp
33eb7c557e
Added test Test_Get_File_Null - passing null to Get.
2011-05-15 10:50:51 +00:00
Kenneth_aa_cp
07f033a647
Updated vsmdi file, forgot to include in previous commit.
2011-05-15 10:40:17 +00:00
Kenneth_aa_cp
406da97441
Added SftpClient tests: ListDirectory with null, CreateDirectory with null, ChangeDirectory with null, DeleteDirectory with null, DeleteFile with null, RenameFile with null, BeginUploadFile with null, BeginDownloadFile with null. Methods:
...
Added Test_Sftp_ListDirectory_Null
Added Test_Sftp_CreateDirectory_Null
Added Test_Sftp_ChangeDirectory_Null
Added Test_Sftp_DeleteDirectory_Null
Added Test_Sftp_DeleteFile_Null
Added Test_Sftp_RenameFile_Null
Added Test_Sftp_BeginUploadFile_Null
Added Test_Sftp_BeginDownloadFile_Null
2011-05-15 10:34:52 +00:00
Kenneth_aa_cp
936c296b82
Added tests for ConnectionInfo, passing whitespace (space) as argument for the constructor on host, username and password.
...
Updated WorkItem attribute on test Test_Execute_Command_Same_Object_Different_Commands.
2011-05-15 10:04:06 +00:00
Kenneth_aa_cp
a9d1ba340c
Added WorkItem property on some test relating to Issue #703
...
Added Visual Studio Test Meta Data File, to organize tests abit. (Not completed)
2011-05-14 16:00:58 +00:00
Kenneth_aa_cp
9e54548963
Added test that delegates passed to BeginUploadFile, BeginDownloadFile and BeginListDirectory are actually called.
2011-05-14 15:29:43 +00:00
olegkap_cp
79095fa477
Ensure that command EndExecute called only once
...
Call callback before End* command for SFTP operations
2011-05-14 04:08:40 +00:00
olegkap_cp
699163773b
Flush StreamWriter for Shell shortcut operation
2011-05-12 13:08:47 +00:00
olegkap_cp
da67b51a48
Fix shell stream output.
...
Fix NullRefernce exception when shell finishes
2011-05-11 22:58:51 +00:00
olegkap_cp
61a8edead9
Fix possible nullable path (breaking change from previouse checking)
...
Fix disconnect logic to avoid ObjectDisposed exception
2011-05-11 21:40:51 +00:00
olegkap_cp
2f42d5a31e
Complete previouse renaming checking
...
Minor fixes that was recenty broken earlier
Apply some FxCop recomendation
2011-05-11 19:49:06 +00:00
olegkap_cp
5ede55515a
Project reorganization and renaming to Renci.SshNet
2011-05-11 19:48:16 +00:00
olegkap_cp
0854d152db
Some cosmetic changes
...
Fixes suggested in issue #703
Add tests for implemented issues
2011-05-11 14:52:23 +00:00
olegkap_cp
223b1fd909
Add new default when creating shell and another shortcut
2011-05-10 15:11:25 +00:00
olegkap_cp
cbeebdff00
Fix SftpSession.Dispose method
2011-05-10 14:27:08 +00:00
olegkap_cp
53661ef847
Restore timeout for any operation that waits for server response
2011-05-10 14:03:04 +00:00
olegkap_cp
2348be8875
Additional fix to Shell stopping
2011-05-09 17:26:12 +00:00
olegkap_cp
20b164cf32
Throw an exception if authentication method is not supported by the server
2011-05-09 15:27:43 +00:00
olegkap_cp
10f2ff2624
Add PipeStream class to handle command output
...
Improve Shell input and output streams
2011-05-09 14:19:08 +00:00
olegkap_cp
20fb009c84
Add Get function to get reference to SftpFile instnace that represents remote file or directory
2011-05-05 18:26:29 +00:00
olegkap_cp
99bddc38e7
Fix Shell from hung when Stop is called
2011-05-05 15:18:28 +00:00
olegkap_cp
30624c5366
Handle SSH_MSG_USERAUTH_BANNER prior establishing secure connection
2011-05-05 15:08:35 +00:00
olegkap_cp
3712b27080
Ensure that socket is disposed by only one thread.
2011-04-20 14:23:35 +00:00
olegkap_cp
382f9c8c26
Fix disposing of Socket object
2011-04-19 19:16:28 +00:00
olegkap_cp
c2e8506808
Adding support for more cryptographic algortihms : blowfish-cbc, cast128-cbc, aes128-ctr, aes192-ctr, aes256-ctr
...
Prepare classes for future implementation of other algorithms
2011-04-14 16:33:48 +00:00
olegkap_cp
dc87042ff5
Fix shell byte output
2011-03-24 18:23:28 +00:00
olegkap_cp
e5624cdc5d
SshPassPhraseNullOrEmptyException and test added
2011-03-08 15:15:24 +00:00
olegkap_cp
635f23fb02
Add IDisposable interface to SftpCommand and dispose of all SftpCommand to prevent Memory leak
2011-03-07 15:44:13 +00:00
olegkap_cp
ed28543ce9
Allow SSH_MSG_DISCONNECT and SSH_MSG_IGNORE messages during key exhange phase
2011-02-22 15:20:03 +00:00
olegkap_cp
c2b45f0eca
Perfomance improvments
...
Remove GetSshString and GetBytes extenstion method
Use byte[] vs IEnumerable<byte>
Other minor changes to improve performance
Fix SFTP synch issue
Update some tests
2011-01-31 21:25:14 +00:00
olegkap_cp
12a323c093
Fix path resolution and implement it the way PUTTY does
...
Fix Test_Sftp_Upload_Forbidden test
Add Test_Sftp_Download_File_Not_Exists Test
Add Test_Sftp_Change_Directory test
2011-01-22 00:36:40 +00:00
olegkap_cp
c391b54b60
Close file handle when download is completed.
2011-01-12 21:44:32 +00:00
olegkap_cp
ea575472a0
Fix reusing command object to execute different commands.
...
Add Test_Execute_Command_Same_Object_Different_Commands test
2011-01-10 18:19:30 +00:00
olegkap_cp
e488bc516e
Add ErrorOccured to BaseClient to allow catching of exceptions that happened on the other thread
...
Fix SymbolicLink method
Minor changes
2011-01-05 23:12:10 +00:00
olegkap_cp
24b902f27b
Update SftpFile with new properties and added functionality
...
Fix directory navigation and full path name resolution
2011-01-04 22:36:07 +00:00
olegkap_cp
a98604bce3
Fix more memory leak problem, now repeat execution of SshCommand doesnt cause memory leak over time;
...
Other minor fixes.
2011-01-03 19:41:07 +00:00