当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 四、统计复制文件数量函数F_CONNECT_COPYCOUNT需要控件:LISTBOX(3个)返回值:需要下载的文件个数。
 

 

    摘要:六、autodown.ini文件[downpath]copyserver1=\\dl-server\hbky_updatecopyserver2=\\dl-server\hbky_updatecopyserver3=copyloginuser1=administratorcopyloginuser2=hbkyautodowncopyloginuser3=copyloginpass1=gygsglk......
 ·xml与数据库    »显示摘要«
    摘要: copyright 1999-2003 by ronald bourret原作最后更新: 2003年11月原文: www.rpbourret.com翻译: onestab 2004.01.23(修订) 俄语版 (october, 2000)法语版 (november, 2003) 法语版的另一个地址:patrick peccatte 目 录 1.0 简介 2.0 xml是数据库......


使用PB调用API自动更新(非FTP模式)(四、统计复制文件数量函数FCONNECTCOPYCOUNT)

四.统计复制文件数量函数f_connect_copycount

需要控件:listbox(3个) 【程序编程相关:Service Station With

【推荐阅读:使用HttpUnit进行集成测试

返回值:需要下载的文件个数. 【扩展信息:c#中在DataGrid里创建一个弹出式

global type f_connect_copycount from function_object

end type

forward prototypes

global function integer f_connect_copycount (string as_path, listbox lb_filecopy1, listbox lb_filecopy2, listbox lb_filecopy3)

end prototypes

global function integer f_connect_copycount (string as_path, listbox lb_filecopy1, listbox lb_filecopy2, listbox lb_filecopy3);

string ls_directorya1,ls_directorya2

string ls_filename,ls_file

ls_directorya1 = as_path

ls_directorya2 = gs_application_path

string ls_directoryb1,ls_directoryb2

string ls_directoryc1,ls_directoryc2

string ls_filename1,ls_filename2

long ll_filecounta1,ll_filecounta2

long ll_filecountb1,ll_filecountb2

long ll_filecountc1,ll_filecountc2

long ll_cnt1

long ll_cnt2

long ll_cnt3

s_filetime sf_createtime1,sf_createtime2

s_filetime sf_accesstime1,sf_accesstime2

s_filetime sf_writetime1,sf_writetime2

s_win32_find_data ss_file1,ss_file2

long ll_filehandle1,ll_filehandle2

long ll_k

ls_file = ls_directorya1 + ´\*.*´

if not lb_filecopy1.dirlist(ls_file, 0+1+2+16+32) then

 return -1

end if

ll_filecounta1 = lb_filecopy1.totalitems()

ll_k = 0


...   下一页
    摘要: 在说明问题之前,首先要介绍一下tomcat的工作原理。大家都知道,jsp可以说是servlet的一种简单写法,它本质还是一个servlet,只是将一些servlet对象设为默认对象,并简化了html的输出方式,在运行时,相应请求的机制和servlet基本是一个道理。因此,当第一次请求一个jsp页面的时候,tomcat(或其他容器)都要首先将jsp转化为servlet class。这其中有两个步骤......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE