Commit Graph

48 Commits

Author SHA1 Message Date
veeso
fe51185f74 If transfer error reason is Abrupted or IO, then stat created file and remove it 2021-05-02 10:45:14 +02:00
veeso
a35395bd51 Fixed upload transfer error not being logged 2021-05-01 21:59:52 +02:00
veeso
1ad75adf87 License changed to MIT 2021-03-26 22:25:10 +01:00
veeso
f0d87ff8c4 will_umount method in Activity 2021-03-21 17:16:52 +01:00
veeso
30c2aa144b FileTransferParams as member of Context 2021-03-21 16:38:11 +01:00
veeso
3520499289 Removed index from explorer 2021-03-21 15:58:14 +01:00
veeso
cd31cc1fc9 File transfer activity refactoring 2021-03-20 21:06:12 +01:00
veeso
4ff7fc079c Added CLI options to set starting working directory on both local and remote hosts 2021-02-25 14:27:34 +01:00
ChristianVisintin
0c9ed38eb7 Solved file index in explorer files at start of termscp, in case the first entry is an hidden file 2021-01-19 09:13:08 +01:00
ChristianVisintin
76fdd9864c Fixed copyright header 2021-01-16 15:13:58 +01:00
ChristianVisintin
928fc1b450 Solved index of files list no more kept after 0.3.0 (use set_abs_index instead) 2021-01-16 11:35:33 +01:00
ChristianVisintin
03e1bf53d0 Solved index of files list no more kept after 0.3.0 2021-01-16 11:16:31 +01:00
veeso
2bd3d33ff6 Updated copyright 2021-01-09 20:45:06 +01:00
ChristianVisintin
d756bf7786 InputMode as Option<Popup> in FileTransferActivity 2020-12-27 10:59:12 +01:00
ChristianVisintin
14125f673a Added options to explorer, in order to define sorting modes and other options. Added bitflags to dependencies; Moved Explorer to Fs module 2020-12-26 17:29:12 +01:00
ChristianVisintin
e0d9ac2ed8 FileTransferActivity::Explorer refactoring; toggle hidden files with <A> 2020-12-26 15:50:57 +01:00
ChristianVisintin
b5abe4538f Replaced sha256 sum with last modification time check, to verify if a file has been changed in the text editor 2020-12-22 17:23:16 +01:00
ChristianVisintin
50b8f3cd71 Improved abs paths in host 2020-12-21 13:59:03 +01:00
ChristianVisintin
1a5bd394b6 Optimizations 2020-12-21 11:12:49 +01:00
ChristianVisintin
eb12da0308 Utils into multiple files 2020-12-20 15:36:48 +01:00
ChristianVisintin
3f6f03af33 Text editor input and session 2020-12-20 15:05:22 +01:00
ChristianVisintin
9171e0789f Moved recv_file and send_file to an independent method (fix) 2020-12-20 14:47:37 +01:00
ChristianVisintin
5eabaf8ac2 Moved recv_file and send_file to an independent method 2020-12-20 12:33:19 +01:00
ChristianVisintin
b8ad1e7feb edit file method 2020-12-19 21:49:53 +01:00
ChristianVisintin
7a115e5dc3 wrkdir as member of FileExplorer 2020-12-19 21:10:00 +01:00
ChristianVisintin
d95cda3dfc Optimizing log code 2020-12-19 21:05:56 +01:00
ChristianVisintin
dd9f54acae Working on text-editor 2020-12-19 21:04:55 +01:00
ChristianVisintin
2a52a19552 Display transfer speed 2020-12-18 17:06:17 +01:00
ChristianVisintin
61b4a3b76e Log how long it took to download/upload a file 2020-12-18 16:14:23 +01:00
ChristianVisintin
900d9ac3c6 Apply file mode of file downloaded from remote 2020-12-18 11:31:51 +01:00
ChristianVisintin
e9d5093a52 Read buffer is now 65536 bytes long 2020-12-14 10:03:20 +01:00
ChristianVisintin
962843bb97 Log transfer aborted 2020-12-13 09:39:12 +01:00
ChristianVisintin
a8a9cb9d2e Abort upload/download pressing Ctrl+C 2020-12-12 22:00:12 +01:00
ChristianVisintin
3e72787625 Transfer states 2020-12-12 21:32:11 +01:00
ChristianVisintin
55bda874f0 Optimized code and performance using clippy 2020-12-12 12:14:51 +01:00
ChristianVisintin
53249c8bc5 Break on recv/send errors 2020-12-10 11:52:00 +01:00
ChristianVisintin
843c5ab6d0 Break on recv/send errors 2020-12-10 11:51:49 +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
bcaaab3c21 Fixed underflow 2020-12-05 21:09:07 +01:00
ChristianVisintin
a0b8af8bf1 Fixed progress bar optimizations (before did nothing) 2020-12-05 19:36:46 +01:00
ChristianVisintin
7e5e5d2df2 Report errors as alerts 2020-12-05 19:36:33 +01:00
ChristianVisintin
d73d56576c Keep exlorer entry index (if possible); reset only when changing directory 2020-12-05 18:31:41 +01:00
ChristianVisintin
28a4bed8fa Ctrl+Q quit; <esc> just disconnect 2020-12-05 17:04:39 +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
175acd9f5b Wait, file_size in recv is completely useless 2020-12-03 13:43:40 +01:00
ChristianVisintin
bc17c9bbc1 Split filetransfer_activity into different files 2020-12-01 14:59:13 +01:00