Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-12-2005, 05:34 AM
Andrew Andrew is online now
Registered User
 
Join Date: 12-01-2004
Posts: 19
Wait until file doesn't exist

Is there an easy way to wait until a file does no longer exist? (It gets deleted by another process)
Reply With Quote
  #2  
Old 05-12-2005, 09:16 AM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
Currently the Wait Action doesn't provide a way to do that, but here is a simple script step that does what you are looking for (although not as efficiently).

We will consider adding this capability to the Wait Action in a future version of Visual Build Professional.
Reply With Quote
  #3  
Old 06-04-2005, 04:21 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
attached
Attached Files
File Type: bld wait.bld (398 Bytes, 1517 views)
Reply With Quote
  #4  
Old 06-13-2005, 01:31 AM
Andrew Andrew is online now
Registered User
 
Join Date: 12-01-2004
Posts: 19
Thanks a lot, that helped alot. Now I wonder is there something similar that I could use for a file on an FTP server?

The file in question is very small so I guess an FTP get in a loop could do it.
Reply With Quote
  #5  
Old 06-13-2005, 08:48 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Yes, if it's a small file, set up a loop to periodically retrieve it and exit the loop if that fails. See attached example.
Attached Files
File Type: bld waitftpdel.bld (1.6 KB, 1435 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:42 AM.


Copyright © 1999-2023 Kinook Software, Inc.