Re: createfolder not behaving as expected

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25717
interpreted = N
texte = >Can anyone see a reason that this wouldn't work? > >[showif [listmach]=T][createfolder /special/[auctionid]] [redirect >t_machineentry.tmpl?command=search&db=/databases/tempauctioneers.db&eq >dealeriddatarq=[dealerid]&auctionid=[auctionid]][/showif] > > >This code, does the redirect, but does NOT create a folder. Can >anyone see a reason for this? Looks to me as it should work. Maybe it's a bug, for example, the redirect happens before the folder has a chance to be created, so the folder is never really created.Try putting the redirect inside a [waitforfile] context that waits for the folder to be created ... and if the waitforfile context needs to wait for an actual file instead of a folder, create a file inside the new folder after the folder is created, then wait for that file ... :)================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: createfolder not behaving as expected (Charles Kline 1999)
  2. Re: createfolder not behaving as expected (Bob Minor 1999)
  3. Re: createfolder not behaving as expected (PCS Technical Support 1999)
  4. Re: createfolder not behaving as expected (Bob Minor 1999)
  5. Re: createfolder not behaving as expected (Kenneth Grome 1999)
  6. Re: createfolder not behaving as expected (Jesse Williams Proudman 1999)
  7. Re: createfolder not behaving as expected (Charles Kline 1999)
  8. Re: createfolder not behaving as expected (PCS Technical Support 1999)
  9. createfolder not behaving as expected (Charles Kline 1999)
>Can anyone see a reason that this wouldn't work? > >[showif [listmach]=T][createfolder /special/[auctionid]] [redirect >t_machineentry.tmpl?command=search&db=/databases/tempauctioneers.db&eq >dealeriddatarq=[dealerid]&auctionid=[auctionid]][/showif] > > >This code, does the redirect, but does NOT create a folder. Can >anyone see a reason for this? Looks to me as it should work. Maybe it's a bug, for example, the redirect happens before the folder has a chance to be created, so the folder is never really created.Try putting the redirect inside a [waitforfile] context that waits for the folder to be created ... and if the waitforfile context needs to wait for an actual file instead of a folder, create a file inside the new folder after the folder is created, then wait for that file ... :)================================ Kenneth Grome, WebDNA Consultant 808-737-6499, http://webdna.net ================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Kenneth Grome

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:

Math problems (1998) [WriteFile] problems (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) HELP WITH DATES (1997) convertWords... NEW (2001) WebCatalog can't find database (1997) WebCat B13 Mac CGI -- Frames question (1997) Auto conversion of URLs? (1998) shownext & math (1997) [WebDNA] hideif within a search (2009) Another question (1997) Claris HomePage messes up the code (1997) Problem (1997) Smart caching problems with 2.1b3? (1997) rotating thumbnails (1997) Security (1998) problems with 2 tags (1997) Sku numbers (1997) DataBaseHelper Flawed (1997) Emailer on NT CAN'T handle large email files (1997)