1. Cesar Lirato
  2. PowerBuilder
  3. Tuesday, 11 May 2021 17:24 PM UTC

Hi, from Peru

I have a question.

 

I'm using PB 2017

I must save image into sharedfolder

How to access the shared network folder protected by username/password?

 

Thanks.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 11 May 2021 19:04 PM UTC
  2. PowerBuilder
  3. # 1

Hi Cesar;

  How about issuing this as a DOS command  request from your PB APP using the built-in RUN() command, as follows (for example) ...

cmd.exe /c "NET USE Z: "\\servername\shareddrivename" /user:mydomain\myusername mypassword"

  When your App is finished with the temporary mapping ...

cmd.exe /c "NET USE Z: /delete"

Food for thought. 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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.