Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-18 | add validate for path object and update manpage | Ryo Nakamura | |
2024-02-18 | update console output and doc | Ryo Nakamura | |
2024-02-18 | add -W and -R option for resume checkpoint | Ryo Nakamura | |
2024-02-17 | ready to implement the main-side | Ryo Nakamura | |
2024-02-17 | add checkpoint.c and .h | Ryo Nakamura | |
2024-02-12 | add htonll and ntohll | Ryo Nakamura | |
2024-02-11 | tiny fix on pool | Ryo Nakamura | |
2024-02-11 | little cleanup | Ryo Nakamura | |
2024-02-11 | change chunk_pool from list to pool | Ryo Nakamura | |
2024-02-11 | cleanup mscp_scan_thread related codes | Ryo Nakamura | |
2024-02-11 | change thread_list to thread_pool | Ryo Nakamura | |
2024-02-11 | change path_list to path_pool | Ryo Nakamura | |
2024-02-11 | add pool strcture and move src list to pool | Ryo Nakamura | |
2024-02-07 | remove unnecessary \n | Ryo Nakamura | |
2024-02-07 | add -4 and -6 options to use either IPv4 or IPv6 | Ryo Nakamura | |
2024-02-07 | cleanup error message handling | Ryo Nakamura | |
The top-level funtion in a thread should print errors using priv_get_err(), while lower-level functions should set error messages using priv_set_err() except that error mesesages should be printed immediately, e.g., under walk_src_path(). | |||
2024-02-06 | add .clang-format from Linux kernel and format sources | Ryo Nakamura | |
The exception is that ColumnLimit is 90. | |||
2024-02-06 | refactor error message-related functions | Ryo Nakamura | |
split message print fuctions (mpr_*), strerrno, and mscp_get/set_error into print.c/h and strerrno.c/h. ToDo: revise usages of priv_set_errv and pr_* functions. | |||
2024-02-06 | add -p option, preserving file timestamps | Ryo Nakamura | |
2024-02-06 | add two env vars to pass password/keyphrase (#9) | Ryo Nakamura | |
MSCP_SSH_AUTH_PASSWORD passes a password, and MSCP_SSH_AUTH_PASSPHRASE passes a passphrase for publickey auth. They enable avoiding interactive password input. Test cases are also added. | |||
2024-02-05 | passing options via pointers in mscp_ssh_opts | Ryo Nakamura | |
We do not need static buf because we have already dropped python biding support. | |||
2024-02-04 | do not passing msg_fp via mscp opts | Ryo Nakamura | |
instead, mpr_* functions print messages to stdout or stderr directly. | |||
2024-02-04 | drop python binding support | Ryo Nakamura | |
2024-01-21 | make it buildable at FreeBSD | Ryo Nakamura | |
2024-01-18 | add SPDX-License-Identifier to source files | Ryo Nakamura | |
2024-01-18 | don't allocate char[PATH_MAX] for each file | Ryo Nakamura | |
This commit makes struct path allocation use strndup(). It reduices the memory footprint for struct path per file (issue #8). | |||
2024-01-18 | fix wrong dst path for source path under '/' | Ryo Nakamura | |
When a source file path is /FILE, its dest path would be dst/ILE. This commit fixes this issue (#8). | |||
2024-01-18 | print warn messages when stat and opendir failed | Ryo Nakamura | |
during scanning src paths due to, e.g., too many levels of symbolic links, too long path, and permission deineid. | |||
2023-11-25 | add -P, equivalent to -p for just compatibility | Ryo Nakamura | |
and add a test case for -p and -P | |||
2023-11-25 | add -I interval option | Ryo Nakamura | |
-I INTERVAL option inserts sleep for interval (seconds) between SSH connection attempts (issue #7). | |||
2023-11-01 | fix parsing user@host:path. | Ryo Nakamura | |
This commit fixes issue #6. Now mscp command correctly parses [x::x] IPv6 address notation in hostname. | |||
2023-11-01 | main: adopt rolling average of recent eight bps values to calculate ETA | Ryo Nakamura | |
2023-11-01 | main: call only mscp_stop() when receives sigint | Ryo Nakamura | |
2023-11-01 | write total transferred bytes and number of files | Ryo Nakamura | |
at the end of output when serverity is notice. | |||
2023-11-01 | change msg: thread[%d] to thread:%d | Ryo Nakamura | |
2023-11-01 | print 1st decimal point in the progress bar | Ryo Nakamura | |
2023-11-01 | add -g option to specify TCP cc algorithm | Ryo Nakamura | |
This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch and add -g CONGESTION option to mscp. | |||
2023-09-08 | fix: use off_t for lseek | Ryo Nakamura | |
2023-08-30 | fix libmscp python bindings. | Ryo Nakamura | |
- fix libmscp install path by setup.py with data_files - fix return values of mscp_get_stats() - add examples directory for mscp python binding | |||
2023-08-30 | fix mscp_opendir, do not use `tls_sftp`, use `sftp` isntead. | Ryo Nakamura | |
The fixed issue causes mscp_opendir wrongly calls opendir() for local when tls_sftp is NULL although sftp is not NULL. | |||
2023-08-04 | fix usage: "none" is not supported for -F | Ryo Nakamura | |
2023-08-04 | introduce git-based versioning | Ryo Nakamura | |
MSCP_BUILD_VERSION (`git describe --tags --dirty --match "v*"`) is passed through include/mscp_version.h.in and cmake. When git is failed, use VERSION file instead (for building from source tar balls that excludes .git). | |||
2023-08-04 | do not set O_TRUNC when opening destination file. | Ryo Nakamura | |
It prevents `mscp localhost:hoge ~/hoge` from truncating the source file. See https://bugzilla.mindrot.org/show_bug.cgi?id=3431. https://github.com/upa/mscp/issues/1 | |||
2023-08-04 | add -F ssh_config option | Ryo Nakamura | |
2023-08-03 | use pseudo glob/globfree for remote-glob when musl | Ryo Nakamura | |
musllibc does not implement GLOB_ALTDIRFUNC, so do not call glob for remote sides when libc is musl. test_e2e.py skips test_glob_src_path when running on alpine. | |||
2023-08-03 | add glob for source paths | Ryo Nakamura | |
https://github.com/upa/mscp/issues/3 | |||
2023-08-03 | cleanup wrappers for file operations | Ryo Nakamura | |
Previously wrapper functions for open(), opendir(), and stat(), etc, are implemneted in path.h, and now they are in fileops.h and fileops.c. This commit is a reparation for remote glob. | |||
2023-05-07 | mscp: maintain mscp_thread structs in list | Ryo Nakamura | |
Instead of m->threads array, struct mscp_thread instanes are maintained in m->thread_list. This enables stable counter access via mscp_get_stats(). | |||
2023-04-05 | main: add a white space to the elapsed time output | Ryo Nakamura | |
It adjusts the position of XX:XX in elapsed timeou output. | |||
2023-04-05 | main: print elapsed time instead ETA at the end | Ryo Nakamura | |