-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
FTPServer with with custom credentials(UserName and Password) #19
Comments
Can you explain it more specifically what do you need? |
@sandrinio1 |
The way I have implemented it is like the below. Be aware this only allows a single username/password combination. It should be pretty straight forward to take a Dictionary of user accounts if required.
You would use it like:
|
If anyone else needs it: services.AddFtpServer(builder => builder |
this should do the trick (be sure to define HostedFtpService). put these in the ConfigureServices:
and define this separately:
|
|
Hi
Would anyone please share minimal working code for FTP Server with User Name and Password?
Thank you
The text was updated successfully, but these errors were encountered: