Commit graph

40 commits

Author SHA1 Message Date
veeso 1ad75adf87 License changed to MIT 2021-03-26 22:25:10 +01:00
ChristianVisintin 66f9ace7bd Find command now supports also directories 2021-03-21 22:57:45 +01:00
ChristianVisintin b9d801e8bc find method for FileTransfer trait 2021-03-21 22:57:31 +01:00
veeso 51f0c56b84 File transfer exec command 2021-03-21 22:46:39 +01:00
ChristianVisintin 76fdd9864c Fixed copyright header 2021-01-16 15:13:58 +01:00
ChristianVisintin 9330025d07 Connection timeout for SFTP/SCP clients 2021-01-16 10:58:07 +01:00
veeso 2bd3d33ff6 Updated copyright 2021-01-09 20:45:06 +01:00
ChristianVisintin 120dc8ecb4 Fixed buffer sizes for transfers 2020-12-28 22:45:28 +01:00
ChristianVisintin 6bf503331e SSH key storage in scp/sftp file transfers 2020-12-24 17:27:57 +01:00
ChristianVisintin 08728bf55e Copy method (host/transfer) 2020-12-21 10:49:31 +01:00
ChristianVisintin 898b57943b Improved test coverage 2020-12-18 14:40:37 +01:00
ChristianVisintin 57e83a63dd Optimized code for fsentry 2020-12-12 16:32:21 +01:00
ChristianVisintin f73e43304e FsEntry::*::symlink is now a Option<Box<FsEntry>>; this improved symlinks, which gave errors some times 2020-12-12 16:26:03 +01:00
ChristianVisintin 55bda874f0 Optimized code and performance using clippy 2020-12-12 12:14:51 +01:00
ChristianVisintin 5e0b130123 Improved sftp and I/O in general: set buffer size to 65536 2020-12-06 20:59:45 +01:00
ChristianVisintin af7bd17422 Use bufreader and bufwriter to optimize performance; but sftp is slow anyway 2020-12-05 21:10:45 +01:00
ChristianVisintin 1ece4eabfd Try authentication with user_agent if possible 2020-12-05 15:50:26 +01:00
ChristianVisintin b45440586b FsFile as argument for both recv_file and send_file 2020-12-05 14:52:53 +01:00
ChristianVisintin 54c02cd4e2 on_sent and on_recv methods for file transfer to finalize streams 2020-12-04 18:25:59 +01:00
ChristianVisintin 82a19dd089 Welcome messages 2020-12-04 14:00:23 +01:00
ChristianVisintin 31f33dff48 Fixed sftp tests 2020-12-03 14:53:24 +01:00
ChristianVisintin 7e09f5c7fa Filetransfer all mutable 2020-12-03 14:44:50 +01:00
ChristianVisintin 175acd9f5b Wait, file_size in recv is completely useless 2020-12-03 13:43:40 +01:00
ChristianVisintin f8be6b7fac Changed FileReadonly with Permissionn error 2020-12-03 12:32:55 +01:00
ChristianVisintin 34752f0e47 Format ssh error 2020-12-01 16:03:35 +01:00
ChristianVisintin 71dbe7ea85 FileTransferError with message and code 2020-12-01 15:57:31 +01:00
ChristianVisintin 9b6e1864d8 stat method for file transfers 2020-12-01 10:57:13 +01:00
ChristianVisintin 306deaaa23 Removed test which can't run anymore 2020-11-29 20:56:35 +01:00
ChristianVisintin 4430f3133d Filetransfer recv/send returns Std::io::Write and Read now 2020-11-29 20:31:34 +01:00
ChristianVisintin 840a2685bf Removed progress callback (not a priority atm) 2020-11-29 12:35:51 +01:00
ChristianVisintin 4dc82d2ebb Changed Callback for file transfer; mkdir using path instead of String 2020-11-28 10:49:58 +01:00
ChristianVisintin 1557c068d5 rename in filetransfer trait 2020-11-27 18:19:10 +01:00
ChristianVisintin ac8cde811d FsEntry as reference in remove method 2020-11-27 16:37:00 +01:00
ChristianVisintin 067f5e710a Filetransfer port is u16 2020-11-24 22:14:37 +01:00
ChristianVisintin 056f8c7c7f is_connected method 2020-11-21 17:37:49 +01:00
ChristianVisintin 68d223a62b SFTP transfer tests 2020-11-16 20:59:07 +01:00
ChristianVisintin b05844d83b All 'happy day' test cases for sftp transfer 2020-11-15 20:51:13 +01:00
ChristianVisintin f55c5d84f2 Writing tests for termscp 2020-11-15 19:06:45 +01:00
ChristianVisintin 32ac26dfde Memo for sftp_transfer test 2020-11-15 15:01:36 +01:00
ChristianVisintin eee1a720e6 SFTP transfer 2020-11-15 14:50:46 +01:00