Commit Graph

52 Commits

Author SHA1 Message Date
veeso
c78fc583b0 Fix: target_family unix means also macos and linux; use BSD target_os 2021-06-21 09:11:28 +02:00
veeso
e3d2151bad Unix Build 2021-06-20 14:38:03 +02:00
veeso
1c58f1d623 Use containers to test file transfers
Use containers to test file transfers

Container setup

Container setup

tests with docker-compose

these tests won't work with containers

ftp tests with containers; removed crap servers; tests only lib

hostname for github

booooooh

fixed recursive remove FTP

Use containers to test file transfers

Container setup

Container setup

tests with docker-compose

these tests won't work with containers

ftp tests with containers; removed crap servers; tests only lib

hostname for github

booooooh

fixed recursive remove FTP

fixed rename

changelog

Desperate attempt

Fixed ftp tests; migrated sftp tests to containers; use env for services

github actions are just broken imo

github actions are just broken imo

Don't use services, since they just don't fuckin work...

docker compose not supported yet?

deprecated typo

Now explain this: github actions have services (which don't work) and then you find out docker-compose is already installed *BLOWMIND*

Fixed hostname for tests

scp tests

maybe

tests

wtf

Restored host tests

Changelog

Improving coverage

Improving coverage

Restored coverage task

More tests for file transfers; test ssh keys too

typo

tests; code improvements

Use tests helpers

fixed tempdir

fixed tempdir
2021-06-15 17:51:06 +02:00
veeso
2b006457c7 fixed rename 2021-06-13 10:10:04 +02:00
veeso
542123ce04 fixed recursive remove FTP 2021-06-13 09:47:17 +02:00
veeso
7f9d92cbe9 Working on logging 2021-05-16 15:09:17 +02:00
veeso
0253572975 Clippy rust 1.52 2021-05-08 18:21:24 +02:00
veeso
892be42988 pretty assert 2021-05-06 21:57:04 +02:00
veeso
6c6dadc4e7 Removed eprintln! in ftp file transfer causing break when on Windows 2021-04-13 09:09:04 +02:00
veeso
8d74d4c4e5 FTP: added support for symlinks for Linux servers 2021-04-04 18:03:11 +02:00
veeso
f136057484 File transfer errors: to_string instead of format! 2021-04-04 16:32:54 +02:00
veeso
47cd112e69 FTP: transfer type set to binary 2021-04-04 16:32:39 +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
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
Christian Visintin
c412d98ec7 Merge branch '0.3.1' into refactoring/1 2021-01-18 08:07:00 +01:00
Vitaliy Busko
367fb235f6 Refactoring FtpFileTransfer::parse_unix_list_line 2021-01-18 10:51:22 +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
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
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
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
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
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
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
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
33e64d1b43 FTP transfer 2020-12-03 14:45:17 +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
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