Commit Graph

51 Commits

Author SHA1 Message Date
ChristianVisintin
2b51f3c79a Fixed windows scp test 2020-12-06 11:15:08 +01:00
ChristianVisintin
e956327b47 Fixed scp test 2020-12-06 10:49:32 +01:00
ChristianVisintin
d61366bed7 Fixed error type for ftp 2020-12-06 10:37:44 +01:00
ChristianVisintin
ce56c227db Don't // Check if file_name is '.' or '..' 2020-12-05 21:11:03 +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
73fe2649be Unset LANG in SCP; provides timestamps for files 2020-12-05 19:47:07 +01:00
ChristianVisintin
ae2224618d Less pedantic parse_list/parse_ls methods. Invalid times are converted to UNIX_EPOCH 0 2020-12-05 17:58:21 +01:00
ChristianVisintin
26006ee383 Fixed scp transfer stat method 2020-12-05 17:45:30 +01:00
ChristianVisintin
b0ce34b9f8 Scp: use oneshot channels instead of ptys (more stable; more reliable and overall works) 2020-12-05 17:37:19 +01:00
ChristianVisintin
1ece4eabfd Try authentication with user_agent if possible 2020-12-05 15:50:26 +01:00
ChristianVisintin
a7c2de0669 Added Scp file transfer to ui 2020-12-05 15:21:01 +01:00
ChristianVisintin
2287fed422 SCP file transfer mod 2020-12-05 15:10:04 +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
af6d6e0039 Fixed ftp write 2020-12-04 14:47:56 +01:00
ChristianVisintin
82a19dd089 Welcome messages 2020-12-04 14:00:23 +01:00
ChristianVisintin
3112f999e3 Rust-ftp finally with tls-native :D 2020-12-03 21:31:51 +01:00
ChristianVisintin
f351ee1aea Ftptransfer tests 2020-12-03 17:10:48 +01:00
ChristianVisintin
31f33dff48 Fixed sftp tests 2020-12-03 14:53:24 +01:00
ChristianVisintin
33e64d1b43 FTP transfer 2020-12-03 14:45:17 +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
be41314a28 ftp transfer: mkdir, remove rename 2020-12-03 12:22:44 +01:00
ChristianVisintin
acc4595ff8 parse_ftp_line test 2020-12-03 08:33:15 +01:00
ChristianVisintin
a328a4f751 Added to FileTransferProtocol bool secure flag to Ftp 2020-12-03 08:16:07 +01:00
ChristianVisintin
9b26b5b99d ftp transfer, brough parse_list_line as a method of the struct 2020-12-03 08:04:40 +01:00
ChristianVisintin
129c168989 implemented list_dir for ftp file transfer 2020-12-02 22:45:24 +01:00
ChristianVisintin
8dc5995458 Working on ls time parser 2020-12-02 17:00:52 +01:00
ChristianVisintin
5d4b255e26 Working on ftp transfer 2020-12-01 17:40:51 +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
5891644782 fmt error for filetransfer 2020-11-27 16:43:20 +01:00
ChristianVisintin
ac8cde811d FsEntry as reference in remove method 2020-11-27 16:37:00 +01:00
ChristianVisintin
39bd881468 Deleted ScpProtocol; use FileTransferProtocol 2020-11-24 22:33:35 +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
ChristianVisintin
37d2bc9485 filetransfer trait: mkdir, remove 2020-11-14 14:13:30 +01:00
ChristianVisintin
aa963b5000 Working on Host 2020-11-08 17:56:06 +01:00