Age | Commit message (Collapse) | Author |
|
|
|
Each copy thread establishes SSH/SFTP connection to remote host.
A delay is inserted between SSH connecting to the remote.
|
|
|
|
This commit runs mscp_prepare() in a pthread. mscp copy threads
run aysnchronously with mscp_prepare(). So, when mscp_prepare()
has not finished yet (due to too many source files), we can start
to copy files.
|
|
In new walk_src_path, resolve dst path and resolve chunks are
invoked when adding a path.
|
|
ToDo:
main should use pipe to receive messages from libmscp.
|
|
Instead of pr_err(), libmscp uses mscp_set_error() and
applications use mscp_get_errror() to get error message.
|
|
|
|
|
|
|
|
this commit starts to refactor file.h|c to path.h|c and
add mscp.c|h. not completed yet.
|