ftp类_php基础_脚本之家

flush();$ftp_ini_datei= $argv[1];require ;require ;echo “\nCronjob
started : “;echo date;echo “\n”;$newftp= new myftp;if{$result=
$newftp->connect($host, $user, $password);}else{$result=
$newftp->connect($host, “anonymous”, “mymail@somewhere.com”);}if
{$mydir= $newftp->changedir;$mydir=
$newftp->getdir();$merkold_dir= getcwd;$mylist= Array(); $mylist=
$newftp->get_file_list; for ($i=0; $i < sizeof{$result =
$newftp->get_file($mylist[$i], $mymode, $delete);}$result=
$newftp->ftp_bye();}else{echo
“———————————-\n”;echo “no connection established
:(\n”;echo “———————————-\n”;}echo “\永利皇宫463手机版,n\nCronjob
stopped : “;echo date;echo “\n”;?>

发表评论

电子邮件地址不会被公开。 必填项已用*标注