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 andused [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 acommand 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 creatingan entry in the NEWS.db with an empty [NEWSDATE] field andusing [WRITEFILE] to create [NEWSDATE] pagesand return the List page of all NEWS directory pages.thanks for the help.--rupertOn 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:
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 andused [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 acommand 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 creatingan entry in the NEWS.db with an empty [NEWSDATE] field andusing [writefile] to create [NEWSDATE] pagesand return the List page of all NEWS directory pages.thanks for the help.--rupertOn 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:
Thanks and new Question on lineitems (2002)
webcat restarting script on Linux? (1999)
[WebDNA] Some code inside a large loops fail ... but why? (2010)
Cart Creation (2003)
Re:no [search] with NT (1997)
form data submission gets truncated (1997)
RE: NewCart+Search with one click ? (1997)
SQL Error 22003 (2001)
[OT] Display Glitch (2004)
Summing a field full of numbers ... (1997)
setcookie expires (2004)
[Sum] function? (1997)
decrypt and summ problems (1999)
Opinion: [input] should be called [output] ... (1997)
Formatting dates stored in db (2003)
Ok here is a question? (1997)
verify online (1997)
removing commas from a preformatted number (2000)
WebCatalog dying in NT (1998)
ssl and invoic.tpl and back bttn (2002)