\nHere you can see a directory listing of the NSCA 2.5 Telnet FTP server on a Macintosh Plus ED with 1024K memory over a SLIP connection.\n
";
echo "\n\nYou can click on a link and download the file. Test it with somefile.txt or maybe on a Mac Screen 0....\n
";
$ftpconnect = ftp_connect("192.168.62.32");
$loginResult = ftp_login($ftpconnect, "username", "password");
if ($loginResult) {
$dir = ".";
$files_array = ftp_nlist($ftpconnect, $dir);
print "Files on the 40MB Hard Drive:
";
// You can use foreach instead of while in PHP4
while (list(, $this_file) = each ($files_array)) {
$urlname = urlencode($this_file);
$urlname = str_replace("+","%20",$urlname );
echo "$this_file
\n";
}
}
ftp_quit($ftpconnect);
echo "\n
You can edit and upload the file \"sometext.txt\" here\n
";
echo "\n\nYou can click on a link and download the file. Test it with somefile.txt or maybe on a Mac Screen 0....\n
";
$ftpconnect = ftp_connect("192.168.62.32");
$loginResult = ftp_login($ftpconnect, "username", "password");
if ($loginResult) {
$dir = ".";
$files_array = ftp_nlist($ftpconnect, $dir);
print "Files on the 40MB Hard Drive:
";
// You can use foreach instead of while in PHP4
while (list(, $this_file) = each ($files_array)) {
$urlname = urlencode($this_file);
$urlname = str_replace("+","%20",$urlname );
echo "$this_file
\n";
}
}
ftp_quit($ftpconnect);
echo "\n
You can edit and upload the file \"sometext.txt\" here\n