Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows add user #595

Open
isdito opened this issue Feb 1, 2023 · 0 comments
Open

windows add user #595

isdito opened this issue Feb 1, 2023 · 0 comments

Comments

@isdito
Copy link

isdito commented Feb 1, 2023

hello,

I will like ad a user in windows server

from pyftpdlib.handlers import FTPHandler
from pyftpdlib.servers import FTPServer
from pyftpdlib.authorizers import WindowsAuthorizer
import sys
#authorizer = WindowsAuthorizer()
#authorizer.add_user("isra", "12345", "f:/", perm="elradfmwMT")
#authorizer.add_anonymous("/home/nobody")

authorizer = WindowsAuthorizer( "elradfmwM")
authorizer.add_user("isra", "12345", "f:/", perm="elradfmwMT")
handler = FTPHandler
handler.authorizer = authorizer

server = FTPServer(("127.0.0.1", 2121), handler)
server.serve_forever()

it is posible?

reggards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant