利用system函数执行shell文件连接ftp服务器失败
#/!bin/shftp -n <<EOFopen $ipuser ftpuser liang123456binpassiveprompt offcd /lcd /etc/gw/liangget liang.txtclosebyeEOF
无效果
在mobaxterm上执行shell文件可以达到效果
可以接收的到文件
system函数返回值是什么?system相关代码在哪里