Re: Moving Files
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28924
interpreted = N
texte = try hard coding the filename in instead of [t_filesent]if it works there is a problem in the varaible, if not then there is aproblem in the path.-Aaron LynchDigital Speed Networks206.227.4934 <-Please note new phone #> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Larry Orchier> Sent: Sunday, March 12, 2000 11:33 PM> To: WebCatalog Talk> Subject: Re: Moving Files>>> 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> >-------------------------------------------------------------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:
try hard coding the filename in instead of [t_filesent]if it works there is a problem in the varaible, if not then there is aproblem in the path.-Aaron LynchDigital Speed Networks206.227.4934 <-Please note new phone #> -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Larry Orchier> Sent: Sunday, March 12, 2000 11:33 PM> To: WebCatalog Talk> Subject: Re: Moving Files>>> 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> >-------------------------------------------------------------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
Aaron Lynch
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:
The List is Changing (1997)
WebCatalog 2.0 b 15 mac (1997)
Nesting format tags (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Possible Bug in 2.0b15.acgi (1997)
Server slowing down. (1997)
Nested ListFiles (1998)
NT version and O'reily's WebSite (1997)
Graphical display of sales volume (2003)
$Replace with [founditems] (1997)
Running _every_ page through WebCat ? (1997)
Math Bug (1999)
Is it IE6 hating rediercts? (2004)
Pacific Coast Software responsiveness (was WebMerchant -MacAuthorize) (1999)
Emailer tracking (1997)
[Announce]: Web server security and password protection (1997)
Webcat Manual and TeaRoom Examples Uses Different Examples. (1997)
Cancel Subscription (1996)
RE: Loss in form (1998)
Number of cars in cart... (2004)