程序也很简单,就是遍历一下本地目录,然后产生一堆ftp命令。 代码如下:function matchDemo(strFolderName)
{
var s;
var re = /200\d{5}/ig;
s = strFolderName.match(re);
return(s);
}
function init()
{
strscr ipt =”open 192.168.1.32 \n”;
strscr ipt+=”user sybase 111111 \n”;
strscr ipt+=”bi