|
Action()
{
int ftp1=0;
ftp_logon_ex(&ftp1,"FtpLogon",
"URL=ftp://sgy:sgy@192.168.0.253",
LAST);
ftp_put_ex(&ftp1,"FtpPut",
"SOURCE_PATH=c:\\A.doc","TARGET_PATH=",
"A.doc",ENDITEM,
LAST);
ftp_logout_ex(&ftp1);
return 0;
}
提示错误:Starting iteration 1.
Starting action Action.
Action.c(4): Error: C interpreter run time error: Action.c (4): Error -- Unresolved symbol : ftp_logon_ex.
Action.c(4): Notify: CCI trace: Compiled_code(0): Action();
如果我按老师书上(203页)的脚本也就是在ftp1前没定义,运行后,提示没有定义:
Action.c (3): undeclared identifier `ftp1';
什么原因呢?选择FTP和HTTP/HTML协议都有问题呢?等待。。。。。 |
|