linux - send a file using c in an adhoc network -
i want send file using c in adhoc network in mt linux platform...plz me header files , functions need use
you use system()
call invoke scp
, e.g.
system("scp file.dat user@remote-host:path/to/directory/");
$ man system
$ man scp
Comments
Post a Comment