Commit Graph

328 Commits

Author SHA1 Message Date
olegkap_cp 9ea1ed5940 Clean up Debug.WriteLine 2012-12-28 16:37:24 +00:00
olegkap_cp 2c9928aa1e Add couple more extended requests for future support 2012-12-28 16:35:56 +00:00
olegkap_cp 503cb0c062 Add some SFTP messages for future support 2012-12-28 15:35:47 +00:00
olegkap_cp 0923fb8db1 Refactor usage of extened requests 2012-12-28 15:18:17 +00:00
olegkap_cp 44b447afc4 Refactor SFTP to prepare for multiple SFTP version support and add suport for versions 0 thru 3 2012-12-28 14:33:36 +00:00
olegkap_cp 086936aa6b Refactor key exchange and add new KeyExchangeDiffieHellmanGroupSha1 base class for easy extenstion to new new groups
Add new StatusCodes to SFTP for possible future support
2012-12-28 13:15:15 +00:00
olegkap_cp cd3b0ca17a Fix handling of SftpFileAttributes
Now only attributes that changed will be updated
Fix error with changing permission for directory
2012-12-28 01:01:05 +00:00
olegkap_cp c9ae7f44fd Add callback parameters to UploadFile, DownloadFile and ListDirectory methods to allow easy way to report progress 2012-12-27 16:13:29 +00:00
olegkap_cp 0124ab2fee Refactor InternalUploadFile
Update SftpUploadAsyncResult with actual number of bytes that was already written to the server
2012-12-27 14:43:13 +00:00
olegkap_cp 9125534cff Refactor WaitAny handle
Add ability to specify password as byte array which can be cleaned up later for security reasons
2012-12-27 02:31:18 +00:00
olegkap_cp 6852e6d2a9 Refactor RequestWrite method to write one block at a time
Add request synchronization for SftpWrite operation which should resolve issue of wrong or incomplete data to be written
Restrict SftpFileStream buffersize to maximum of 16KB.
2012-12-26 17:13:07 +00:00
olegkap_cp 78634e3b1c Add HostKeyName property to HostKeyEventArgs 2012-12-21 15:10:56 +00:00
olegkap_cp 58c0a23fa9 Add locking in ShellStream Read function 2012-12-21 13:52:31 +00:00
olegkap_cp 9dbd001bad Fix synchronization exception 2012-12-21 01:37:35 +00:00
olegkap_cp db3244a3f9 Remove -q flag from SCP commands to avoid crush on systems that do not support it 2012-12-21 00:23:01 +00:00
olegkap_cp 55eb9bfc4b Add Silverlight5 and WindowsPhone8 projects 2012-12-20 21:38:35 +00:00
olegkap_cp ef584b16f6 Fix cleanup of SftpFileStream. 2012-12-20 19:33:19 +00:00
olegkap_cp 43358247a5 Fix socket locker to different object since socket can become null at some point
Apply 12489 patch
2012-12-20 18:16:48 +00:00
olegkap_cp e738ebfb1e Add Support for SFTP posix-rename@openssh.com and statvfs@openssh.com requests
Partially apply 12705 patch
2012-12-20 17:18:56 +00:00
olegkap_cp 2e400ef632 Support multiple chunks in NetConf.
Apply 13499 Patch
2012-12-20 16:03:39 +00:00
olegkap_cp f08c14e0f6 Fix channel cleanup when disposed. 2012-12-20 14:46:15 +00:00
olegkap_cp d8fbf2c81b Fix SCP to allow specify folder/path as destination when coping files 2012-12-20 13:33:40 +00:00
olegkap_cp 09763a591e Code Cleanup 2012-12-20 05:33:31 +00:00
olegkap_cp 41bb6920d0 Fix AES-256-CBC SSH private key decryption
Restore silverlight compatibility
2012-12-20 01:41:43 +00:00
olegkap_cp d551995eb6 Change default buffer size from maximum allowed to 16KB to avoid several buffer related errors 2012-12-20 00:48:37 +00:00
olegkap_cp 67c90147df Throw an exception if connection could not be established 2012-12-19 20:51:15 +00:00
olegkap_cp d0241f5853 Fix ShellStream Expect method that causes application to hang 2012-12-19 20:44:51 +00:00
olegkap_cp 53a02ed5de Throw SshOperationTimeoutException when reading from the socket takes long time 2012-12-19 20:30:09 +00:00
olegkap_cp 702af15a59 Apply 13061 patch 2012-12-19 20:07:06 +00:00
olegkap_cp ba39209723 PortForwarding minor changes
Apply 13243 with minor changes
2012-12-19 19:54:49 +00:00
olegkap_cp b0c5dc5ff1 Restore usage of SVN for some projects 2012-12-19 19:26:21 +00:00
olegkap_cp a89085dc5a SynchronizeDirectories refactoring and other minor changes 2012-12-19 19:11:36 +00:00
olegkap_cp 552a9f0cc3 Fix partial authentication error 2012-12-19 17:08:32 +00:00
olegkap_cp d89e0e055e Improve PortForwarding and disconnect 2012-12-19 16:44:58 +00:00
olegkap_cp 6d91b38cae Increase private key file line size to from 76 to 80 to support amazon keys 2012-12-19 16:00:26 +00:00
olegkap_cp eccad7648f Incorporate changes made by da_rinkes
Add support for AES-128-CBC, AES-192-CBC and AES-256-CBC encrypted keys
2012-12-19 15:57:16 +00:00
diehardvn_cp 39b3df8453 1. Compare the specified local directory and destination directory.
2. Upload the difference from the local directory to destination directory.
2012-11-29 22:45:27 +00:00
[TFS11]\Project Collection Service Accounts 0bbeb3e32b Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563 2012-10-01 20:45:27 +00:00
[TFS11]\Project Collection Service Accounts 4f4cf9cecb Checked in by server upgrade 2012-10-01 20:44:38 +00:00
Kenneth_aa_cp 2a63e560e7 Wrapped re-thrown exception into SshException(ex.Message, ex). 2012-09-13 06:12:54 +00:00
Kenneth_aa_cp b97462ff45 Added test placeholder for users having problems with GlobalSCAPE Secure FTP Server. 2012-09-13 05:14:26 +00:00
olegkap_cp 7332af534c Change default buffer size from 1024 * 32 - 38 to 1024 * 32 - 52 2012-09-12 17:43:48 +00:00
olegkap_cp bf2e1521e0 Fix for PrivateKeyFile constructor locks file unnecessarily 2012-09-12 17:39:45 +00:00
Kenneth_aa_cp cca71cb672 Added a comment regarding exception thrown when local socket is dead, as it shows up as first-chance exception in the output window. 2012-09-11 12:10:03 +00:00
Kenneth_aa_cp 5741c0c198 Preliminary test for DerData.cs 2012-09-10 17:22:00 +00:00
olegkap_cp 692ec03184 Fix SocketReadLine to handle case when server starts and only 0 are returned 2012-08-10 18:52:49 +00:00
olegkap_cp 5de39cb104 Fix for server drops connection 2012-08-10 18:44:34 +00:00
olegkap_cp b1af0fc92b Fix GlobalRequestMessage to be able to handle other custom messages 2012-08-10 18:34:10 +00:00
olegkap_cp 729ce19b6b Update Renci.SshNet.Tests.NET35 project to split .NET40 specific test into seperate file which will be compile in .NET 4.0 only 2012-06-18 17:35:06 +00:00
olegkap_cp 72df8fad29 Enclode filename in quotes for SCP operation as recomended 2012-06-18 13:21:54 +00:00