Re: Moving Files
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28923
interpreted = N
texte = For the record, neither of the two below works for me:[COPYFILE from=[t_filesent]&to=artifacts/[t_filesent]][DELETEFILE file=[t_filesent]]On Monday, March 13, 2000, Kenneth Grome
wrote:>>I tried that after I read the following in the online docs:>>>>Paths are relative to the template, so somefolder/fred will>delete the file down inside a folder called somefolder, and>../fred will delete the file in the folder one level up from the template.>>>>Here's my line:>>[MOVEFILE from=[t_filesent]&to=../artifacts/[t_filesent]]>>>>That doesn't work. It doesn't budge. I created a subfolder>in artifactsent called artifacts, and tried>>[MOVEFILE from=[t_filesent]&to=artifacts/[t_filesent]]>>then>>[MOVEFILE from=[t_filesent]&to=/artifacts/[t_filesent]]>>>>None of them work.>>There used to be some kind of a bug in movefile. I don't know>if it was ever fixed, but if you try using copyfile followed by>deletefile and you get it to work, then I would guess that the>movefile bug still exists.>>================================>Kenneth Grome, WebDNA Consultant>808-737-6499 http://webdna.net>================================>>>>>>------------------------------------------------------------->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>-------------------------------------------------------------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:
For the record, neither of the two below works for me:[COPYFILE from=[t_filesent]&to=artifacts/[t_filesent]][DELETEFILE file=[t_filesent]]On Monday, March 13, 2000, Kenneth Grome wrote:>>I tried that after I read the following in the online docs:>>>>Paths are relative to the template, so somefolder/fred will>delete the file down inside a folder called somefolder, and>../fred will delete the file in the folder one level up from the template.>>>>Here's my line:>>[MOVEFILE from=[t_filesent]&to=../artifacts/[t_filesent]]>>>>That doesn't work. It doesn't budge. I created a subfolder>in artifactsent called artifacts, and tried>>[MOVEFILE from=[t_filesent]&to=artifacts/[t_filesent]]>>then>>[MOVEFILE from=[t_filesent]&to=/artifacts/[t_filesent]]>>>>None of them work.>>There used to be some kind of a bug in movefile. I don't know>if it was ever fixed, but if you try using copyfile followed by>deletefile and you get it to work, then I would guess that the>movefile bug still exists.>>================================>Kenneth Grome, WebDNA Consultant>808-737-6499 http://webdna.net>================================>>>>>>------------------------------------------------------------->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>-------------------------------------------------------------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
Larry Orchier
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:
shipcost (1997)
[WebDNA] WebPOP with godaddy account (2011)
TemplateCacheSize preference (1998)
Max DB Size (2004)
[addlineitems] (1997)
[lookup] speed sales pitch (2003)
Here we go again... was: DDEConnect not working (2006)
[WebDNA] Virtual server (2011)
[WebDNA] Store module/site (2012)
emailer (1997)
$Quit, $CloseDatabase corrections (1997)
BBEdit and WebCatalog 2.0? (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
autocommit problem (1998)
Separate SSL Server (1997)
Text data with spaces in them... (1997)
using showpage and showcart commands (1996)
Opinion: [input] should be called [output] ... (1997)
Multiple Newcarts (1996)
Non-Cart Files in Shopping Cart Folder (1997)