Hey all,
Ok, here is the CGI file:
#!/usr/bin/perl
opendir (FTPDIR, "../effTeePee/");
print 'YES I GOT THIS FAR!';
## my @folderContents = readdir (FTPDIR);
## closedir (FTPDIR);
## print "Content-type: text/html\n\n";
## if (@folderContents) {
## print 'This directory contains<br><br>';
## foreach (sort @folderContents) {
## print "$_";
## }
## }
As you can see, parts of it are commented out. The reason for this is that I keep getting this error on line 3. I checked the permissions on the directory and they're 755. So what gives? What am I missing?
- MT
Ok, here is the CGI file:
#!/usr/bin/perl
opendir (FTPDIR, "../effTeePee/");
print 'YES I GOT THIS FAR!';
## my @folderContents = readdir (FTPDIR);
## closedir (FTPDIR);
## print "Content-type: text/html\n\n";
## if (@folderContents) {
## print 'This directory contains<br><br>';
## foreach (sort @folderContents) {
## print "$_";
## }
## }
As you can see, parts of it are commented out. The reason for this is that I keep getting this error on line 3. I checked the permissions on the directory and they're 755. So what gives? What am I missing?
- MT