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:

RequiredFields template (1997) Removing [showif] makes a big difference in speed (1997) includes and cart numbers (1997) How to append text after the sign & (1997) My recent WebDNA support inquiry (2006) unix permissions theory applied to db security? Or...? (2000) Logout? (1998) Search: Is this possible? (2005) [WebDNA] jumpstart me? - how to auto-upload to a remote server? (2010) Request for improvement... (2002) Date Formats (1997) Math Hell! (2000) [ot] Any One Want A WebDNA Billing Program? (2003) Change Subtotal (2000) Error: Missing c in orderfile???? (2005) Can't use old cart file (was One more try) (1997) Email Set-Up? (1997) Which [index]? (1997) Memory Error message (1998) Nesting format tags (1997)