[WebDNA] Two file tags don't work as expected
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102705
interpreted = N
texte = Cicada 6.2Ubuntu 9.04Insecure File Mode=777Secure File Mode=777WebDNA successfully creates cart files in the ../CartFiles folder with no problem. It also sets the permissions for these files to 777 as expected. So far so good, but then the problems begin ...--------------------First problem: The following code successfully moves the designated cart file from the source folder to the destination folder: [movefile from=../CartFiles/[cart]&to=../OrderFiles/[cart]]... 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?--------------------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?--------------------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]]--------------------Any help with the resolution of these three unexpected issues is greatly appreciated, thanks.Sincerely,Ken Grome
Associated Messages, from the most recent to the oldest:
Cicada 6.2Ubuntu 9.04Insecure File Mode=777Secure File Mode=777WebDNA successfully creates cart files in the ../CartFiles folder with no problem. It also sets the permissions for these files to 777 as expected. So far so good, but then the problems begin ...--------------------First problem: The following code successfully moves the designated cart file from the source folder to the destination folder: [movefile from=../CartFiles/
[cart]&to=../OrderFiles/
[cart]]... 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?--------------------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?--------------------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]]--------------------Any help with the resolution of these three unexpected issues is greatly appreciated, thanks.Sincerely,Ken Grome
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:
f2 download problems (1997)
Clean Code: Rules for inserting keyboard returns? (1997)
WebCat2b13MacPlugIn - [include] (1997)
A few questions. . . (1997)
[BoldWords] WebCat.acgib15Mac (1997)
Re:2nd WebCatalog2 Feature Request (1996)
[WebDNA] v7.x [thisurl] (2010)
Math with Time (1997)
using showpage and showcart commands (1996)
pc (1997)
NetSplat and WebCat2 (1997)
WebDelivery downloads alias, not original ? (1997)
TeaRoom (1997)
Adding Message to Order (1997)
Merging databases (1997)
Moment of Thanks (1997)
ThreadMem ignored? (1998)
Question about replacing words (1998)
Reversed words (1997)
many-to-one problem (1998)