Login:
Password:
Directory:

FTP login failed! Start over? Can't enter that directory!

Current host: " . $phpftp_host . "
\n"; echo "Current directory: " . $phpftp_dir . "
\n"; if ($phpftp_dir == "/") { $phpftp_dir=""; } if ($contents = ftp_rawlist($ftp,"")) { $d_i=0; $f_i=0; $l_i=0; $i=0; while ($contents[$i]) { $item[] = split("[ ]+",$contents[$i],9); $item_type=substr($item[$i][0],0,1); if ($item_type == "d") { /* it's a directory */ $nlist_dirs[$d_i]=$item[$i][8]; $d_i++; } elseif ($item_type == "l") { /* it's a symlink */ $nlist_links[$l_i]=$item[$i][8]; $l_i++; } elseif ($item_type == "-") { /* it's a file */ $nlist_files[$f_i]=$item[$i][8]; $nlist_filesize[$f_i]=$item[$i][4]; $f_i++; } elseif ($item_type == "+") { /* it's something on an anonftp server */ $eplf=split(",",implode(" ",$item[$i]),5); if ($eplf[2] == "r") { /* it's a file */ $nlist_files[$f_i]=trim($eplf[4]); $nlist_filesize[$f_i]=substr($eplf[3],1); $f_i++; } elseif ($eplf[2] == "/") { /* it's a directory */ $nlist_dirs[$d_i]=trim($eplf[3]); $d_i++; } } /* ignore all others */ $i++; } ?> 0) { ?> 0) { ?>

Directory empty or not readable

Directories

Files

FTP login failed!

Start over? FTP login failed!

Start over? FTP get failed!

Start over? Upload failed! Can't create temp file?

Start over? FTP login failed!

Start over?