grunt-ftp-deploy
grunt-ftp-deploy copied to clipboard
Depreciation Warning
Uploading from command line grunt ftp success! but warnings which I don't remember from a while back(?) .ftppass and inline credentials all standard with double quotes.
(node:78761) DeprecationWarning: Ftp.rawuser: Use Ftp.raw('user args') instead. (node:78761) DeprecationWarning: Ftp.rawpass: Use Ftp.raw('pass args') instead. (node:78761) DeprecationWarning: Ftp.rawtype: Use Ftp.raw('type args') instead. (node:78761) DeprecationWarning: Ftp.rawcwd: Use Ftp.raw('cwd args') instead. (node:78761) DeprecationWarning: Ftp.rawquit: Use Ftp.raw('quit args') instead.
thanks in advance
Getting the same messages here
Same here
Thanks for the great library 👍
This is still happening. It has been fixed upstream. We just need to edit line 198 of the main tasks file:
ftp.raw.quit(function (err) {
Change to:
ftp.raw('quit', function (err) {
Adding to the comment of @Kelderic , I've created a PR that fix all the warnings for me. You can take a look at it and change the files locally while we are waiting for @zonak to comment on the PR.
Cheers!
Unfortunately, I'm pretty sure that this project has been abandoned, @spoji.
Yeah... Last updates were 3 years ago. The pull request should at least help others having the same issue.
I stand corrected. The PR has been merged back and npm has been updated to 0.2.0 which include the fix.
https://www.npmjs.com/package/grunt-ftp-deploy
@zonak This issue can be closed.