【发布时间】:2013-08-19 07:37:44
【问题描述】:
我需要编写一个脚本,使用 XFB 协议将文件从一台服务器传输到另一台服务器。我对此进行了谷歌搜索并找到了以下信息。
ConfigFile
---
nodeRemote=xx.UNIX.Axxxxxx
name=cdadmin
fromfile=xfb_bs_test.csv
runlocal=dummy
runremote=dummy
filetype=csv
tofile=xfb_bs_test.csv
XFB cmd ::
btoput -f ConfigFile
从上面我了解到需要将 ConfigFile 作为参数传递给 btoput。 但我不知道上面 ConfigFile 中 nodeRemote,name,fromfile,runlocal,runremote,tofile 的确切含义。 有人可以帮我解决这个问题吗?
【问题讨论】:
-
为什么不使用
ssh||ftp? -
没有。使用 ssh、sftp 或 ftp 这可以轻松完成。但要求是只能使用 XFB。