'NodeJS FTP not throwing error when trying to delete non-existent file
I am working with ftp-npm and I am currently facing a weird bug...
I have a method called refreshStore that contains this part of code :
c.delete('/pathToMyFileOnFTPServer', function(err) {
console.log('117');
if (err) throw err;
});
This is not throwing error and even not logging the '117' string even though my file does not exist on the server... Why is this like this ?
Thanks all!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
