Skip to content

Commit 39b40e8

Browse files
author
PortaSFTPServer
committed
Documentation updates.
1 parent 5aa775b commit 39b40e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ server.setKeyPairProvider(hostKeys);
162162

163163
var rootPath = Path.Combine(AppContext.BaseDirectory, "sftp-root");
164164

165-
server.setPasswordAuthenticator(new MyPasswordAuthenticator());
165+
server.setPasswordAuthenticator(new AMNetFixedPasswordAuthenticator("admin", "changeme"));
166166
server.setFileSystemFactory(new AMNetVirtualFileSystemFactory(rootPath));
167167

168168
var sftp = new AMNetSftpSubsystemFactory();
169-
sftp.setFileSystemAccessor(new MySftpFileSystemAccessor());
169+
sftp.setFileSystemAccessor(new AMNetSftpFileSystemAccessor());
170170
server.setSubsystemFactories(sftp);
171171

172172
server.setCommandFactory(new AMNetScpCommandFactory(

0 commit comments

Comments
 (0)