done reading file
trying to open the same file for write (append)
trying to open NEXT file for over-write trying to open NEW file for write run this script again
access this file via java servlet
Karl Brown midi servlet home page
Sorry, cannot open file for write
writing to file at = 6/6/2023 09:57:15 PDT
test.cgi wrote to file at = 6/6/2023 09:57:15 PDT
/home/virtual/site94/fst/var/www/html/testfiles/testnext.txt
trying to open NEXT file for read
Sorry, cannot open NEXT file for read
contents of NEXT file:
done reading NEXT file
Sorry, cannot open new file for write
writing to NEXT file at = 6/6/2023 09:57:15 PDT
/home/virtual/site94/fst/var/www/html/testfiles/testnew.txt
Sorry, cannot open new file for write