此实验基于example下的file_demo
普通的文件传输
为啥子叫普通嘞,因为后面有复杂的啊~
(诺,有人写了,就懒得搞了,链接:cube可信框架之文件加解密传输)
1.先看一下启动文件套餐(姑且这么叫着)
_file_receiver.def:
{
"CUBE_PATH":"/home/kx/cube-1.3"
}
{
"CUBE_APP_PATH":"/home/kx/test",
"INSTANCE":"ft/file_receiver",
}
_file_sender.def:
{
"CUBE_PATH":"/home/kx/cube-1.3"
}
{
"CUBE_APP_PATH":"/home/kx/test",
"INSTANCE":"ft/file_sender",
}