Hi All,
I am new to creating PB Web Services so forgive the question.
I have created a .NET Web Service in PB Classic. The intention is that it will retrieve the filepath for an image from a DB, resize and save it into a folder structure. I am using the Imagemagick OLE dll on my Webserver to try to do this.
So far I have been able to establish my DB connection and retrieve the filename and filepath from the DB.
The problem I have is that when I use DirectoryExists() to validate the path for the file the WebService is returning FALSE. I know the directory exists as I can browse to it via Windows Explorer. I am storing the UNC path in the DB, e.g. \\Fileserver\development\Images\xxx
The DirectoryExists() also returns FALSE if I try to validate a folder on the local machine.
Am I missing permissions in this case or should I be looking at a different way to validate the directory and access the files?
This may be the first of many stumbling blocks, but am hoping that if I can get over this one things should move on quickly.
Thanks,
Michael