sometimes trouble reading file
Using ScreenScraper 2.6 professional edition.
Workstation A: has an "M" drive pointing to local volume, shared out
Workstation B: has an "M" drive pointing to that shared volume on A
(I.e. A & B are reading/writing to same storage)
Workstation A & B have the same ScreenScraper scrapes/code. In the code there is a part that checks to see if a file on the M drive exists (using Java File.exists()).
When running the scrapes on either workstation directly from ScreenScraper GUI, both work and can read the file.
However, when calling the scrapes from a Java JAR using com.screenscraper.scraper.RemoteScrapingSession, only workstation A works. Workstation B cannot see the file on the M drive and the File.exists() test fails with something like "The system cannot find the path specified".
My sys admin tried changing the ScreenScraper service to run as (the user that has privileges on the M drive) instead of SYSTEM but this did not work.
Any ideas?
sometimes have trouble reading file
Thanks for the response.
Yes, in all other respects I can read/write to the share from Workstation B without issue. (Example: I can open Windows Explorer to the mapped drive, create, edit, delete, files.)
And as I said above, "When running the scrapes on either workstation directly from ScreenScraper GUI, both work and can read the file." That's the really weird part. Running the scraper directly from the SS GUI works fine, but if I .scrape from my own java JAR, the read fails. (I can create a standalone Java class that check to see if the file.exists(), and it also works.) Again, its only when the java jar calls the scrape does the read fail and say the path/file does not exist.
I would think it has to do
I would think it has to do with permissions to the share. If you sit at workstation B, can you open the share? Does it prompt for a password? Can you save a file to it?