Re: Mystery File - Solved

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62047
interpreted = N
texte = ken, i began to suspect it was an invisible file. because, i could not see any additional files listed with my FTP GUI, only the ones which WebCat had returned, and all were named [NEWSDATE].html. (i forgot to mention, this is on a Linux/Apache WebCat6.) i attempted to use the CLI to remove the NEWS directory [rmdir NEWS]. but found, you can not remove a directory unless it is empty. so, i used the [ls -l] command, saw all the files and used [rm -f] to remove them one by one. after removing files, i still received the error: Directory not empty. so, i [mv -f NEWS NEWSold] , which changed the name of the directory to NEWSold. then created a new NEWS directory [mkdir NEWS] after this - PRESTO - Mysterious File gone! i then went back and looked into the NEWSold directory with a command which i discovered shows invisible files [ls -a], and there IT was. a file named [. . .html]. i promptly removed it! i was able to recreate the Mystery File by creating an entry in the NEWS.db with an empty [NEWSDATE] field and using [WRITEFILE] to create [NEWSDATE] pages and return the List page of all NEWS directory pages. thanks for the help. --rupert On May 21, 2005, at 11:41 PM, Kenneth Grome wrote: > On some platforms webdna lists invisible files. You cannot see > those files yourself without changing your operating system > preferences or using a special utility to view them. Maybe the > file exists and you do not see it but webdna does ... > > Sincerely, > Kenneth Grome > www.kengrome.com > > > > > > > > On May 22, 2005, at 05:55, rupert ravens wrote: > > >> hey all, >> >> the code below first writes an HTML file, >> then creates an HTML page with a list of all HTML files in that >> directory. >> >> however, i get a Mystery file [.html] listed which doesn't exit >> on the server. >> >> i have changed the code around but still can't seem to get rid of it. >> >> possibly this mystery is my misunderstanding. >> >> enlightenment welcome. >> >> thanks, >> >> --rupert >> >> >> >> All NEWS Directory Website Pages listed here >> >> File Name: open. . . . ..html >> >> File Name: open. . . . .04-21-2005.html >> >> File Name: open. . . . .05-25-2004.html >> >> File Name: open. . . . .10-11-2004.html >> >> >> >> -----begin code >> --------------------------------------------------------------------- >> ------ >> [search db=news.db&neNEWSDATEdata=[blank]] >> [founditems] >> [writefile file=../testwrite/news/[grep search= $&replace=] >> [NEWSDATE].html[/grep]] >> >> >> ....... >> >> [/writefile] >> [/founditems] >> [/search] >> >> [showif [action]!] >> >> >> >> ....... >> >> All NEWS Directory Website Pages listed here

>> >> [table name=filesort&fields=filename][!] >> [/!][listfiles path=../testwrite/news/] >> [grep search= $&replace=][FILENAME][/grep] >> [/listfiles][/table] >> >> >> [search table=filesort&neFILENAMEdata=[blank]&asFILENAMEsort=1] >> [founditems] >> [showif [FileName]^.html] >> File Name: open. . . . . >> [FileName]

>> [/showif] >> [/founditems] >> [/search] >> >> ....... >> >> >> >> [/showif] >> -----end code >> --------------------------------------------------------------------- >> ----- >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Mystery File - Solved ( rupert ravens 2005)
  2. Re: Mystery File - Solved ( Gary Krockover 2005)
  3. Re: Mystery File - Solved ( rupert ravens 2005)
ken, i began to suspect it was an invisible file. because, i could not see any additional files listed with my FTP GUI, only the ones which WebCat had returned, and all were named [NEWSDATE].html. (i forgot to mention, this is on a Linux/Apache WebCat6.) i attempted to use the CLI to remove the NEWS directory [rmdir NEWS]. but found, you can not remove a directory unless it is empty. so, i used the [ls -l] command, saw all the files and used [rm -f] to remove them one by one. after removing files, i still received the error: Directory not empty. so, i [mv -f NEWS NEWSold] , which changed the name of the directory to NEWSold. then created a new NEWS directory [mkdir NEWS] after this - PRESTO - Mysterious File gone! i then went back and looked into the NEWSold directory with a command which i discovered shows invisible files [ls -a], and there IT was. a file named [. . .html]. i promptly removed it! i was able to recreate the Mystery File by creating an entry in the NEWS.db with an empty [NEWSDATE] field and using [writefile] to create [NEWSDATE] pages and return the List page of all NEWS directory pages. thanks for the help. --rupert On May 21, 2005, at 11:41 PM, Kenneth Grome wrote: > On some platforms webdna lists invisible files. You cannot see > those files yourself without changing your operating system > preferences or using a special utility to view them. Maybe the > file exists and you do not see it but webdna does ... > > Sincerely, > Kenneth Grome > www.kengrome.com > > > > > > > > On May 22, 2005, at 05:55, rupert ravens wrote: > > >> hey all, >> >> the code below first writes an HTML file, >> then creates an HTML page with a list of all HTML files in that >> directory. >> >> however, i get a Mystery file [.html] listed which doesn't exit >> on the server. >> >> i have changed the code around but still can't seem to get rid of it. >> >> possibly this mystery is my misunderstanding. >> >> enlightenment welcome. >> >> thanks, >> >> --rupert >> >> >> >> All NEWS Directory Website Pages listed here >> >> File Name: open. . . . ..html >> >> File Name: open. . . . .04-21-2005.html >> >> File Name: open. . . . .05-25-2004.html >> >> File Name: open. . . . .10-11-2004.html >> >> >> >> -----begin code >> --------------------------------------------------------------------- >> ------ >> [search db=news.db&neNEWSDATEdata=[blank]] >> [founditems] >> [writefile file=../testwrite/news/[grep search= $&replace=] >> [NEWSDATE].html[/grep]] >> >> >> ....... >> >> [/writefile] >> [/founditems] >> [/search] >> >> [showif [action]!] >> >> >> >> ....... >> >> All NEWS Directory Website Pages listed here

>> >> [table name=filesort&fields=filename][!] >> [/!][listfiles path=../testwrite/news/] >> [grep search= $&replace=][FILENAME][/grep] >> [/listfiles][/table] >> >> >> [search table=filesort&neFILENAMEdata=[blank]&asFILENAMEsort=1] >> [founditems] >> [showif [FileName]^.html] >> File Name: open. . . . . >> [FileName]

>> [/showif] >> [/founditems] >> [/search] >> >> ....... >> >> >> >> [/showif] >> -----end code >> --------------------------------------------------------------------- >> ----- >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ rupert ravens

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

(thx) automating a POST (2002) auto adding SKUs w/DB helper (1998) WebCat2 several catalogs? (1997) vs (1997) mem leak: webcat (2001) math on date? (1997) Linux vs Jaguar (OSX) (2002) File upload woes (1998) Million product store (2003) truncating email part II (1997) Authorize net woes (2003) wild question (1998) NT [delete] (1998) Emailer Blackmail (1998) Alternative To WebDNA? (2006) Proper way to save links in a db (2002) To Err or Not Custom Error (1999) Revisit: speed test (2002) Running _every_ page through WebCat ? (1997) Credit Card Number checking (1997)