1、scp
scp -p root@remote_host:/remote_dir/remot_file /local_dir
将remote_host上的文件/remote_dir/remot_file 拷贝到本地目录/local_dir。
2、利用sendfile系统调用,开发发送及接收的传输程序。
适合海量数据的快速传输。
1、scp
scp -p root@remote_host:/remote_dir/remot_file /local_dir
将remote_host上的文件/remote_dir/remot_file 拷贝到本地目录/local_dir。
2、利用sendfile系统调用,开发发送及接收的传输程序。
适合海量数据的快速传输。