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:
access denied problem (1997)
Need some feedback, please. (2003)
Help!!!! (1999)
WebCommerce: Folder organization ? (1997)
RE: Cookies? (1997)
More DateMath problems (1997)
Formating found categories (1997)
Updating Prices in Online Database (1999)
WebCatalog 2.1 License for Sale (1998)
Help! WebCat2 bug (1997)
[OT] What System Software? (2003)
default value from Lookup (was Grant, please help me) (1997)
Test (2003)
Problem with updating 2.1b7 -> 2.1.1 (1998)
RE: ShowNext Command (1997)
Webcat Manual and TeaRoom Examples Uses Different Examples. (1997)
[Fwd: F3 database munching] (1997)
ShowNext (was New WebCatalog Site) (1997)
Summ=T Problem (1997)
Draft Manual, Tutorial, and more (1997)