Re: generator prob

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37436
interpreted = N
texte = Rudy wrote: > > Hey guys, > > I've been having trouble with something. I was wondering whether you > experienced programmers could help me out with it. > > A search is conducted and I want to write a file to place it in a folder > of its value: > > [search db=Somedatabase.db& etc. . . .] > [founditems] > [writefile file=/[fieldname]/[fieldname].html&secure=F] > If [fieldname] equals TEST, you are trying to create a directory called TEST at the ROOT of the web server, containing a file called TEST.html. I don't think that [writefile] is smart enough to create a directory if one doesn't already exist. You probably have to add a [createfolder], ala: [search db=Somedatabase.db& etc. . . .] [founditems] [createfolder path=/[fieldname]] [writefile file=/[fieldname]/[fieldname].html&secure=F] HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: generator prob (Rudy 2001)
  2. Re: generator prob (Celeste Paul 2001)
  3. Re: generator prob (John Peacock 2001)
  4. Re: generator prob (Brian Fries 2001)
  5. Re: generator prob (Rudy 2001)
  6. Re: generator prob (Brian Fries 2001)
  7. Re: generator prob (Will Starck 2001)
  8. generator prob (Rudy 2001)
Rudy wrote: > > Hey guys, > > I've been having trouble with something. I was wondering whether you > experienced programmers could help me out with it. > > A search is conducted and I want to write a file to place it in a folder > of its value: > > [search db=Somedatabase.db& etc. . . .] > [founditems] > [writefile file=/[fieldname]/[fieldname].html&secure=F] > If [fieldname] equals TEST, you are trying to create a directory called TEST at the ROOT of the web server, containing a file called TEST.html. I don't think that [writefile] is smart enough to create a directory if one doesn't already exist. You probably have to add a [createfolder], ala: [search db=Somedatabase.db& etc. . . .] [founditems] [createfolder path=/[fieldname]] [writefile file=/[fieldname]/[fieldname].html&secure=F] HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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:

necessary? (2000) Plugin or CGI or both (1997) still having shipCost.db Problem (1997) WebCatalog vs. Cold Fusion (1998) Changing RAM-cached browser values ... (2000) UPS Rates (2006) Tax on shipping (1998) Who needs Yoda! (2002) WebCatalog (1998) using showpage and showcart commands (1996) fckeditor in Browswer html editor (2005) Transfering [text] variables (2000) Nested tags count question (1997) Encrypted Templates not Decrypting (2003) PSC recommends what date format yr 2000??? (1997) Post arguments problem mac? (1997) Help name our technology! (1997) OT: Limit on # of Pulldown entries (1997) [WebDNA] test (2010) webcat serving up 2+ versions of the same db? (2000)