1. Moshe Tangi
  2. PowerBuilder
  3. Tuesday, 14 January 2020 08:23 AM UTC

Hello

 

I have a ws which one of its functions getting files as  an array of bytes .

I convert the array into a blob , and save it as a file in the hard disk

The problem is I can't save it out side the iis directory

 

Does any one have an idea of what do to ?

one option is : save the blob to the DataBase  but I prefer not to do that

 

Thanks

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 14 January 2020 17:12 PM UTC
  2. PowerBuilder
  3. # 1

Hi Moshe;

   You have three alternatives ...

One:

1) Create the folder where you wish to save the file from your IIS based WS.

2) Go to properties of the Folder => Security and add IIS_IUSERS user privileges to that folder

Two:

1) Save the File to your working WS folder in IIS

2) Call the DOS Copy command to copy the file to any folder outside IIS that you require

Three

1) Create an Application Pool in IIS with raised privileges

2) Use the IIS Console to assign our WS to the new App Pool

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.