Previous Thread
Next Thread
Print Thread
LOOKUP on client PC #36569 25 Aug 23 02:37 PM
Joined: Jul 2001
Posts: 461
J
Joe Leibel Offline OP
Member
OP Offline
Member
J
Joined: Jul 2001
Posts: 461
After I used ATSYNC to send the files to a C:\VM\MIAME\CACHE folder I need to do a lookup to see if it is there to determine whether to print it or not.
I was surprised to find that LOOKUP,"C:\VM\MIAME\CACHE\filename.jpg",IMAGE'THERE always returns zero. I thought that worked for me before but maybe not using ATE.
Does anyone have any thoughts on this?

Re: LOOKUP on client PC [Re: Joe Leibel] #36570 25 Aug 23 03:23 PM
Joined: Jun 2001
Posts: 11,925
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,925
It would work fine if the target filespec, "C:\VM\MIAME\CACHE\filename.jpg" in this case, was visible from the machine where the A-Shell session was running. But LOOKUP doesn't know anything about ATE and can't therefore look up files that are only visible to the ATE client.

The solution to that is to use MX_FILESTATS (with the loc'rec parameter set to C). Note that C looks automatically in the cache directory, so it wouldn't be necessary to even specify the path.

Re: LOOKUP on client PC [Re: Joe Leibel] #36571 26 Aug 23 09:54 AM
Joined: Jul 2001
Posts: 461
J
Joe Leibel Offline OP
Member
OP Offline
Member
J
Joined: Jul 2001
Posts: 461
Worked great.Thanks


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3