-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
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
can i use this package with ftp protcol #19
Comments
@abdolrhman at the moment does not support FTP, I will consider adding support in future releases |
I could help you with implementing FTP ... |
I was checking this possibility earlier today but I didn't find a simple way of implementing using just native node.js since one of the goals of this library is not to have dependencies. Is possible to implement it completely native but I will end up creating an entire FTP client because you need to take in consideration a lot of scenarios, for example, Authorization, FTPS, TLS, etc after some consideration, I think if any user needs to use FTP is better just to use |
so your thinking to create a plugin for node-ftp or for any package that implements this protocl, |
I was thinking more the possibility to add a plugin/middleware system to this library, something like const { DownloaderHelper } = require('node-downloader-helper');
const ftpPlugin = require('node-downloader-helper/ftp-plugin');
const dl = new DownloaderHelper('ftp://www.ovh.net/files/1Gio.dat', __dirname);
dl.use(ftpPlugin({user, pass, secure:true /*...more opts*/ )); // or DownloaderHelper.use(ftpPlugin);
dl.on('end', () => console.log('Download Completed'))
dl.start(); and basically will use
|
that would be a fantastic thing, |
can i download files with ftp protocol instead of http ?
The text was updated successfully, but these errors were encountered: