gpt4 book ai didi

c - 定时传输文件

转载 作者:太空宇宙 更新时间:2023-11-04 07:09:51 25 4
gpt4 key购买 nike

我正在编写一个客户端/服务器 C 应用程序,我将在编程的时间间隔内将文件从客户端传输到服务器。我能怎么做?有一些功能可以做到这一点?我应该使用线程吗?

最佳答案

'cron' could fire a shell script, 
the shell script would use fpt or tftp
and some file that lists which files to transfer,
for the actual file transfer

关于c - 定时传输文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29307833/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com