简体   繁体   中英

request.getresponse() giving error bad username and password

I'm trying to access a file using request.getstream() on a server A. I have also given the network credentials. Those credentials have admin rights on that server.

But while using request.getresponse() the following error is shown:

Login failure: bad username and password.

Can anybody suggest what could be the problem?

您可能还必须在用户名中提供域,例如“ DOMAIN \\ USERNAME”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM