What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] Two file tags don't work as expected

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102706
interpreted = N
texte = Kenneth Grome wrote: > ... but instead of leaving the permissions set to 777 on the > moved file, WebDNA changes the moved file's permissions to > 664. Why does it do this? I don't know that the generic WebDNA movefile is that sophisticated since it is cross platform.. but I haven't personally looked at the source for that tag yet. You have options. You could use shell and 'mv' instead to make your move. Or, Just do: [waitforfile file=yournewfile][/waitforfile] [shell]/chmod 777 ./[/shell] after your movefile to set the perms. However, I must say that I don't know of too many times where files marked at 777 is a good thing. ;-) > -------------------- > > Second problem: When WebDNA moves the above cart file, it > also (and this is really bizarre) *recreates* an empty cart > file with the same name in the same location as the original. > Why does it do this and how can I prevent it? Not sure, but I'm guessing it's coding technique. Blank files can be created if you are trying to use that file before it is all there. They can probably be created for other reasons as well. Maybe employ waitforfile..?? > -------------------- > > Third problem: WebDNA fails to delete the undesirable newly > recreated empty cart file via the following deletefile tag > even though its permissions are 777. Why does it fail to > delete this file and how can I make it delete this file? > > [deletefile ../CartFiles/[cart]] Though I don't know if it will solve your problem, that is not the syntax I use for deletefile. Try: [deletefile file=xxx] (such as in the docs) If that doesn't work, I'm guessing it's a permissions based issue. > Any help with the resolution of these three unexpected > issues is greatly appreciated, thanks. > > > Sincerely, > Ken Grome HTH, Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Two file tags don't work as expected (Donovan Brooke 2009)
  2. Re: [WebDNA] Two file tags don't work as expected (Kenneth Grome 2009)
  3. Re: [WebDNA] Two file tags don't work as expected (Donovan Brooke 2009)
  4. [WebDNA] Two file tags don't work as expected (Kenneth Grome 2009)
Kenneth Grome wrote: > ... but instead of leaving the permissions set to 777 on the > moved file, WebDNA changes the moved file's permissions to > 664. Why does it do this? I don't know that the generic WebDNA movefile is that sophisticated since it is cross platform.. but I haven't personally looked at the source for that tag yet. You have options. You could use shell and 'mv' instead to make your move. Or, Just do: [waitforfile file=yournewfile][/waitforfile] [shell]/chmod 777 ./[/shell] after your movefile to set the perms. However, I must say that I don't know of too many times where files marked at 777 is a good thing. ;-) > -------------------- > > Second problem: When WebDNA moves the above cart file, it > also (and this is really bizarre) *recreates* an empty cart > file with the same name in the same location as the original. > Why does it do this and how can I prevent it? Not sure, but I'm guessing it's coding technique. Blank files can be created if you are trying to use that file before it is all there. They can probably be created for other reasons as well. Maybe employ waitforfile..?? > -------------------- > > Third problem: WebDNA fails to delete the undesirable newly > recreated empty cart file via the following deletefile tag > even though its permissions are 777. Why does it fail to > delete this file and how can I make it delete this file? > > [deletefile ../CartFiles/[cart]] Though I don't know if it will solve your problem, that is not the syntax I use for deletefile. Try: [deletefile file=xxx] (such as in the docs) If that doesn't work, I'm guessing it's a permissions based issue. > Any help with the resolution of these three unexpected > issues is greatly appreciated, thanks. > > > Sincerely, > Ken Grome HTH, Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

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:

WebCat2 beta FTP site (1997) Exclude by date - multiple (1997) search engine friendly URLS (Mac) (1998) [SearchString] usage (1997) Include from DB (2002) Emailer (1997) 2.0Beta Command Ref (can't find this instruction) (1997) emailer (1997) WebCat2 beta 11 - new prefs ... (1997) Merging databases (1997) 4.51 Triggers (2003) [WebDNA] reverse rank=off (2008) profiles (1999) Lookup Notfound (1998) Protect (1997) Grouping fields help (2004) Sorting problem (1997) still having shipCost.db Problem (1997) Cool ShowNext (was Blasted shownext (request for 4.0)) (1998) Webstar 1.3.1 PPC (1997)