We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey there,
I have seen an other issue that helped someone but I'm not sure how to do it myself, I used the example code of the readme as a basis:
const FtpSrv = require('ftp-srv'); const port=21; const ftpServer = new FtpSrv({ url: "ftp://0.0.0.0:" + port, anonymous: true }); ftpServer.on('login', ({ connection, username, password }, resolve, reject) => { if(username === 'anonymous' && password === 'anonymous'){ return resolve({ root:"/" }); } return reject(new errors.GeneralError('Invalid username or password', 401)); }); ftpServer.listen().then(() => { console.log('Ftp server is starting...') });
Could someone help me to implement this: #196
Greetings calmseagrass
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey there,
I have seen an other issue that helped someone but I'm not sure how to do it myself, I used the example code of the readme as a basis:
Could someone help me to implement this: #196
Greetings
calmseagrass
The text was updated successfully, but these errors were encountered: