- CJ Lai
- PowerServer 2020 or older (Obsolete)
- Thursday, 14 May 2020 08:23 PM UTC
Hi
I have script in my Client/Server-turn-Web/Mobile application to 'see' directories on any file servers that are in our company's network. The app worked great in 2017 R3
Onto 2019 R2.
I understand that some of PowerBuilder File Functions are unsupported in PowerServer ('ChangeDirectory', 'CreateDirectory', 'DirectoryExists'.... according to this post - https://bit.ly/2zBua8f)
I am looking for a work-around for those. If you have a good substitute for any of the above, please share.
In the meantime, I just hard-coded a local C:\ drive location to dw_1.SaveAs a PDF file to, it worked. I got a PDF file in the said folder.
However, if I change the file location to a file server \\servername\folder1\folder2\filename.PDF, then the SaveAs would fail.
Why? What should I do to SaveAs a PDF onto a file server?
Thank you!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.