Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-25 | add copy-related functions to path | Ryo Nakamura | |
2023-02-25 | start to impliment mscp as a library | Ryo Nakamura | |
this commit starts to refactor file.h|c to path.h|c and add mscp.c|h. not completed yet. | |||
2023-02-16 | add -r option (but no effect) | Ryo Nakamura | |
2023-02-16 | add \n at the final output | Ryo Nakamura | |
2023-01-05 | remove unnecessary pr_warn | Ryo Nakamura | |
2022-12-11 | set default nr_threads to floor(log(cores) * 2) + 1) | Ryo Nakamura | |
This change prevents mscp from establishing too many ssh connections on many-core machines in default. | |||
2022-12-11 | use pthread_cleanup to acquire and release lock | Ryo Nakamura | |
In chunk_prepare(), if multiple threads wait for acquiring f->lock, and then pthread_cancel() is called, the waiting threads are never canceled because pthread_mutex_lock() is not a cancellation point. So, use pthread_cleanup_push/pop to release the lock. | |||
2022-12-08 | set default NR_AHEAD to 32 | Ryo Nakamura | |
2022-12-06 | fix final progress output | Ryo Nakamura | |
2022-12-06 | add ssh_buffer_new_size and ssh_buffer_add_func to libssh | Ryo Nakamura | |
sftp_async_write() with these functions reduces 1. realloc_buffer by ssh_buffer_new_size() 2. memcpy from read data to ssh buffer by ssh_buffer_add_func() | |||
2022-12-05 | change prompt for ssh key passphrase | Ryo Nakamura | |
2022-12-05 | reuse ctrl sftp session for the first copy thread | Ryo Nakamura | |
2022-12-04 | set TCP_NODELAY by default and introduce -N option to disable it | Ryo Nakamura | |
2022-12-03 | remove unused code and introduce -b buf_sz option | Ryo Nakamura | |
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh. | |||
2022-12-02 | little cleanup | Ryo Nakamura | |
2022-12-02 | cache passphrase for private key for later connections. | Ryo Nakamura | |
2022-12-02 | add auth callback for input passphrase of privkey | Ryo Nakamura | |
2022-12-02 | add -M hmac option | Ryo Nakamura | |
2022-11-28 | use sigalrm for printing progress bar | Ryo Nakamura | |
2022-11-27 | add ETA to progress print | Ryo Nakamura | |
2022-11-27 | skip sftp_free() inappropriately | Ryo Nakamura | |
2022-11-27 | only the last thread changes dst file permission | Ryo Nakamura | |
2022-11-26 | fix duplicate error message on ssh auth failed. | Ryo Nakamura | |
and fix the final \n with -q | |||
2022-11-18 | add O_TRUNC when the first open() for a file | Ryo Nakamura | |
2022-11-18 | don't stop on macos whem -m coremask is set | Ryo Nakamura | |
2022-11-18 | remove pr_warn debug | Ryo Nakamura | |
2022-11-18 | fix type of id for sftp_async_write | Ryo Nakamura | |
2022-11-18 | fix when copy multiple sources and various tiny fixes | Ryo Nakamura | |
* when copying multiple sources, target must be directory * add multi-src copy test and parametrize src/dst prefixes * cleanup REAMDE (s/sessions/connections/g) * make error output in copy functions simple | |||
2022-11-18 | tiny fix | Ryo Nakamura | |
- set ssh nonblocking before closing sftp session - fix pprint for core mask | |||
2022-11-17 | fix async handling | Ryo Nakamura | |
2022-11-17 | fix idx increment (typo) and async write improves copy speed! | Ryo Nakamura | |
2022-11-17 | implement local-to-remote copy with async_write | Ryo Nakamura | |
2022-11-16 | check invalid coremask | Ryo Nakamura | |
2022-11-15 | add -m coremask option | Ryo Nakamura | |
2022-11-13 | add memory barrier to notify monitor thread of copy threads finished | Ryo Nakamura | |
2022-11-13 | add -a nr_ahead option | Ryo Nakamura | |
2022-11-12 | little trick to make progress bar stable | Ryo Nakamura | |
2022-11-12 | fix buf size in remote to local copy. | Ryo Nakamura | |
Too large buffer size for sftp_async_read causes unfinished copy: sftp_async_read returns 0 althrough data remains. | |||
2022-11-12 | fix some thread handling | Ryo Nakamura | |
2022-11-12 | use sftp_async_read for remote to local copy | Ryo Nakamura | |
2022-11-08 | fix incorrect ret handling for read/write | Ryo Nakamura | |
2022-11-05 | add -H option to disable host key check | Ryo Nakamura | |
tests use this option. | |||
2022-11-05 | create file at the remote although file size is 0 | Ryo Nakamura | |
2022-10-31 | do not print progress when total bytes transferred is 0 | Ryo Nakamura | |
2022-11-01 | capture retval from copy threads | Ryo Nakamura | |
2022-10-31 | add rename-logic.py | Ryo Nakamura | |
2022-10-31 | rename dirname if dst dir does not exist | Ryo Nakamura | |
`scp remote:srcdir dstdir` renames srcdir to dstdir if dstdir does not exist. If dstdir exists, it creates dstdir/srcdir. This commit imitates this behavior. | |||
2022-10-30 | set nr_threads to # of chunks if # of chunks is small | Ryo Nakamura | |
2022-10-30 | add cpack to build debian package | Ryo Nakamura | |
2022-10-30 | fix on debug compile | Ryo Nakamura | |