Comments (1)
In case anyone else ends up on this ticket, a raw call with dele
is the one that worked for me. If you like promises, here's mine:
const deleteFileFromFTP = (fileName) =>
new Promise((resolve, reject) =>
Ftp.raw('dele', fileName, (err) => {
if (err) return reject(err)
return resolve()
}),
)
I found dele
on this list of ftp commands: https://www.nsftools.com/tips/RawFTP.htm
from jsftp.
Related Issues (20)
- Ftp.features is undefined when auth is not called
- list returns wrong filename if filename starts with a space HOT 1
- raw command of send was failed
- Documentation May Be Wrong HOT 1
- Can i sync ftp folder with local folder?
- ftp.get() not working correctly HOT 7
- Browse directories
- Ftp.put can only upload empty files on node10.16.0. If there is content, call error = = = false, but there is no file on the server
- jsftp ls error
- TypeError: this.socket.on is not a function at Ftp._createSocket HOT 3
- How to use 'rmda' command HOT 3
- not support node v10.x (fault upload, download at CentOS8) HOT 2
- Is it possible to use put function for directory
- HTTP proxy
- Ftp.get(remotePath, localPath, callback) creating files with size 0
- DeprecationWarning: Invalid 'main' field in '/workspaces/myblog/node_modules/jsftp/package.json' of './jsftp.js'.
- .rename 501 Bad sequence of commands fix
- FTP raw mkd HOT 1
- Invalid 'main' field in 'D:\hexo\blog\node_modules\jsftp\package.json'
- How to multiple get files [solution]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsftp.