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 a problem in the path.-Aaron LynchDigital Speed Networks 206.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:

    
  1. Re: Moving files from one server to another... (Pedro Rivera 2001)
  2. Re: Moving files from one server to another... (John Peacock 2001)
  3. Re: Moving files from one server to another... (Alain Russell 2001)
  4. Re: Moving files from one server to another... (Jim Lanford 2001)
  5. Re: Moving files from one server to another... (Aaron Lynch 2001)
  6. Re: Moving files from one server to another... (Alain Russell 2001)
  7. Re: Moving files from one server to another... (Aaron Lynch 2001)
  8. Re: Moving files from one server to another... (Pedro Rivera 2001)
  9. Re: Moving files from one server to another... (John Peacock 2001)
  10. Re: Moving files from one server to another... (Bob Minor 2001)
  11. Re: Moving files from one server to another... (Brian Fries 2001)
  12. Re: Moving files from one server to another... (Pedro Rivera 2001)
  13. Re: Moving files from one server to another... (John Peacock 2001)
  14. Moving files from one server to another... (Pedro Rivera 2001)
  15. Re: Moving Files (Kenneth Grome 2000)
  16. Re: Moving Files (Aaron Lynch 2000)
  17. Re: Moving Files (Larry Orchier 2000)
  18. Re: Moving Files (Jesse Proudman 2000)
  19. Re: Moving Files (Kenneth Grome 2000)
  20. Re: Moving Files (Larry Orchier 2000)
  21. Re: Moving Files (Kenneth Grome 2000)
  22. Re: Moving Files (Larry Orchier 2000)
  23. Re: Moving Files (Kenneth Grome 2000)
  24. Moving Files (Larry Orchier 2000)
  25. Re: listfiles, moving files (Kenneth Grome 1998)
  26. Re: listfiles, moving files (Peter Ostry 1998)
  27. Re: listfiles, moving files (Sandra L. Pitner 1998)
  28. Re: listfiles, moving files (Sandra L. Pitner 1998)
  29. Re: listfiles, moving files (Dave MacLeay 1998)
  30. listfiles, moving files (Sandra L. Pitner 1998)
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 a problem in the path.-Aaron LynchDigital Speed Networks 206.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)