Commit Graph

73 Commits

Author SHA1 Message Date
ChristianVisintin
76fdd9864c Fixed copyright header 2021-01-16 15:13:58 +01:00
ChristianVisintin
350443ec99 SCP file transfer: fixed possible wrong file size when sending file, due to a possible incoherent size between the file explorer and the actual file size 2021-01-16 11:49:59 +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
veeso
fa5468be4a Fixed time check tests 2021-01-09 14:29:30 +01:00
ChristianVisintin
120dc8ecb4 Fixed buffer sizes for transfers 2020-12-28 22:45:28 +01:00
ChristianVisintin
06a2373776 parse dos line test 2020-12-27 20:42:52 +01:00
ChristianVisintin
32ae5cc182 Removed test for macos 2020-12-27 19:28:41 +01:00
ChristianVisintin
6975beaf30 Fixed file extension not found in SCP/FTP 2020-12-27 15:08:57 +01:00
ChristianVisintin
c141c6c44d Added LIST command parser for Windows server (DOS-like syntax) 2020-12-27 15:08:42 +01:00
ChristianVisintin
6bf503331e SSH key storage in scp/sftp file transfers 2020-12-24 17:27:57 +01:00
ChristianVisintin
9b9dc43a7f FileTransferProtocol ToString and FromStr traits 2020-12-24 10:03:48 +01:00
ChristianVisintin
08728bf55e Copy method (host/transfer) 2020-12-21 10:49:31 +01:00
ChristianVisintin
eb12da0308 Utils into multiple files 2020-12-20 15:36:48 +01:00
ChristianVisintin
898b57943b Improved test coverage 2020-12-18 14:40:37 +01:00
ChristianVisintin
443789698b Copy trait for FileTransferProtocol 2020-12-16 15:57:46 +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
66f17c93c2 Finalize get stream for FTP 2020-12-10 11:27:00 +01:00
ChristianVisintin
a2a7478f5b Published new rust-ftp as ftp4 2020-12-06 22:56:40 +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
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