Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

What if file is being written to but Exists for Check Whether File Exists


This topic is 4899 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm trying to use the .....

Check Whether File Exists - new File( pathToFile ).exists()

.... to import after a file is created. The problem is the other program is still writing to the file so I don't get all the records.

Any ideas on how to keep it from importing until the other program is done?

Practical example:

Printing postage with Endecia...

Script:

Print Postage....

Loop

set variable [$$file_exists ; value:CheckWhetherFileExists( "C:\folder\Data-output.xml" )

exit loop if [$$file_exists = 1]

pause/resume 5 seconds

End Loop

I thought about continuing the loop until all records come back but that wont work if 1 address is invalid................

This topic is 4899 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.