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:
Multiple prices (1997)
OT: SourceForge (2005)
MacActivity and PCS (1997)
Multiple Merchant Accounts? (1997)
Re[2]: Next X hits (1996)
NetForms for mail, sorry (1998)
problems with 2 tags shakur (1997)
OS X (2000)
[ShowNext] (1997)
FlushDatabase Suggestion (1998)
Location of Webcat site in folder hierarchy (1997)
NetForms for email (1998)
Summing fields (1997)
Searching a database... (2003)
Help! WebCat2 bug (1997)
[url] (1997)
Question about links (1999)
2.0Beta Command Ref (can't find this instruction) (1997)
OT: Amazon Patents (2000)
Include vs. lookup-opps (1998)