Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all articles
Browse latest Browse all 3862

Access Denied on upload with 'Rebex tiny SFTP Server' and ssh2 node module

$
0
0

Please help I have always the Access denied error when i try to upload on server :


conn.on("ready", () => {
conn.sftp((err,sftp) => {
if (err) throw err;
var providedFileName = util.format("%s", localFilePath);
sftp.fastPut(providedFileName, '/',(err) => {
console.log('Erreur', err);
});
});
});
conn.connect(sftpConfig);


Viewing all articles
Browse latest Browse all 3862

Trending Articles