Best way to poll for existence of a file?
Boaz Bezborodko
boaz at mirrotek.com
Thu Mar 26 14:06:52 PDT 2009
I am updating a shipping system to integrate with UPS's Worldship. I
was going to use their "Hands-Off" shipping method that polls for the
existence of a data file in a specific directory and imports the data if
something exists. It can then generate a file with shipping data like
tracking number and freight charges to a specific file. I want to poll
for that file with FPro and import the data when it exists. I am using
Windows FP 5.6 off a Samba server.
I was thinking of just setting up one rclerk or rreport operation to
just sit there and check for the existence of the file every couple of
seconds or minutes (using SLEEP) and import the data when something
exists. It just seems a little cludgy to me. Does anyone know of any
more elegant solution to doing this?
BTW, best of luck to all of those attending the meeting.
Boaz
More information about the Filepro-list
mailing list