I have a problem i am currently writing code in order to write a file on a shared encrypted folder, the issue is i got this message:
[info] com.hierynomus.mssmb2.SMBApiException: STATUS_ACCESS_DENIED (0xc0000022): Create failed for \192.168.4.5\Serveur-BEE\TEST_BILANS\TEST\DC00331.csv
i resolved it by giving the user full control on the shared autorisations of the folder, but i need the code to work even if the rights are not on full-control (but modify at least obviously) since i don't know what the customer rights will be.
Hello,
I have a problem i am currently writing code in order to write a file on a shared encrypted folder, the issue is i got this message:
[info] com.hierynomus.mssmb2.SMBApiException: STATUS_ACCESS_DENIED (0xc0000022): Create failed for \192.168.4.5\Serveur-BEE\TEST_BILANS\TEST\DC00331.csv
i resolved it by giving the user full control on the shared autorisations of the folder, but i need the code to work even if the rights are not on full-control (but modify at least obviously) since i don't know what the customer rights will be.
code is below:
public FichierSrvEncrypted(String url, String login, String pwd, String domain) throws IOException { this.login = login; this.pwd = pwd; this.domain = domain;
Is there someting i am doing wrong?
thanks