Re: Waitfor file
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28638
interpreted = N
texte = on 06.03.2000 22:39, John Butler at john@feeling-goods.com wrote:>>> on 04.03.2000 22:10, WebDNA Support at webdna-support@talk.smithmicro.com>>> wrote:>>> >>> ...Or you might try>>> pausing for some period of time after waiting, so you give the other>>> process time to finish writing.>> >> What are your suggestions to wait for some period of time?>> [WaitForFile file=nada_amigo.txt&timeout=60][/WaitForFile]> > where you know that nada_amigo.txt will never appear. Set timeout to the> delay you needYes, timeout works if the file never appears. But IF the file appears, thenit does it at the same moment it gets written. And i.e. under Linux you*can* read an incomplete file. Therefore the timeout of [waitforfile] isuseless for bigger files which appear immediately but need some time to getready.I believe the best method is to rename the file afterwards, how SM Supportsuggested.But I was astonished about SM Support's second suggestion to make WebCatwait for some period of time and I'm curious how to accomplish this task.There is no while-loop to be used with [elapsedtime]. Is there is a trickfor a timed delay?Peter++++++++++++++++++++++++++++++++++++++++++++++++Ostry & Partner - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------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:
on 06.03.2000 22:39, John Butler at john@feeling-goods.com wrote:>>> on 04.03.2000 22:10, WebDNA Support at webdna-support@talk.smithmicro.com>>> wrote:>>> >>> ...Or you might try>>> pausing for some period of time after waiting, so you give the other>>> process time to finish writing.>> >> What are your suggestions to wait for some period of time?>> [WaitForFile file=nada_amigo.txt&timeout=60][/WaitForFile]> > where you know that nada_amigo.txt will never appear. Set timeout to the> delay you needYes, timeout works if the file never appears. But IF the file appears, thenit does it at the same moment it gets written. And i.e. under Linux you*can* read an incomplete file. Therefore the timeout of [waitforfile] isuseless for bigger files which appear immediately but need some time to getready.I believe the best method is to rename the file afterwards, how SM Supportsuggested.But I was astonished about SM Support's second suggestion to make WebCatwait for some period of time and I'm curious how to accomplish this task.There is no while-loop to be used with [elapsedtime]. Is there is a trickfor a timed delay?Peter++++++++++++++++++++++++++++++++++++++++++++++++Ostry & Partner - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------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
Peter Ostry
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)
sendmail and CGatePro (2003)
[OT] Colored source code in IE? (2007)
Possible Bug in 2.0b15.acgi (1997)
Help! Strange happenings... (1997)
Hiding URL ? (1998)
Text data with spaces in them... (1997)
Multiple Ad databases? (1997)
update on wn searching (1997)
HTTP header line is too long? (1997)
Quickie question on the email templates (1997)
quantity minimum problem (1997)
founditem align (1998)
re: [addlineitem] working almost (1997)
color and size options (1997)
The Form authentication trick (2000)
NT vs Mac (1997)
F2 to F3 rocky transition (1997)
How To get Some Help (2003)
Bug Report, maybe (1997)