Commit Graph

39 Commits

Author SHA1 Message Date
veeso
f31b047671 Copy command support for SFTP 2021-05-15 19:09:58 +02:00
veeso
892be42988 pretty assert 2021-05-06 21:57:04 +02:00
veeso
e29ce3d0dd Merge branch '0.4.1' into issue-17-still-some-problems-with-symlinks 2021-04-04 17:33:00 +02:00
veeso
e6b952966c SCP: fixed symlink not properly detected 2021-04-04 17:29:17 +02:00
veeso
f136057484 File transfer errors: to_string instead of format! 2021-04-04 16:32:54 +02:00
veeso
b610da16a9 Fix remote paths for Windows 2021-04-02 22:09:58 +02:00
veeso
55e884889c Clippy 2021-03-27 12:17:35 +01:00
veeso
1ad75adf87 License changed to MIT 2021-03-26 22:25:10 +01:00
veeso
15bea93da8 find test is broken on windows 2021-03-26 21:46:23 +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
7a5861f32f prevent infinite loops while performing stat on symbolic links pointing to themselves 2021-03-21 22:44:33 +01:00
veeso
d99efb9de4 SCP File transfer: when listing directory entries, check if a symlink points to a directory or to a file 2021-01-23 12:20:34 +01:00
Christian Visintin
c412d98ec7 Merge branch '0.3.1' into refactoring/1 2021-01-18 08:07:00 +01:00
Vitaliy Busko
d7e5eacd79 Refactoring ScpFileTransfer::parse_ls_output 2021-01-18 11:31:35 +07:00
ChristianVisintin
23ca2baa8c Cargo clippy 2021-01-16 18:02:12 +01:00
ChristianVisintin
215927d432 Fixed copyright header 2021-01-16 15:37:29 +01:00
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
ChristianVisintin
120dc8ecb4 Fixed buffer sizes for transfers 2020-12-28 22:45:28 +01:00
ChristianVisintin
6975beaf30 Fixed file extension not found in SCP/FTP 2020-12-27 15:08:57 +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
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
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
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
ce56c227db Don't // Check if file_name is '.' or '..' 2020-12-05 21:11:03 +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
2287fed422 SCP file transfer mod 2020-12-05 15:10:04 +01:00