grunt-ftp-deploy icon indicating copy to clipboard operation
grunt-ftp-deploy copied to clipboard

Depreciation Warning

Open opencityint opened this issue 8 years ago • 7 comments

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

opencityint avatar Dec 11 '16 23:12 opencityint

Getting the same messages here

yepes avatar Jan 16 '17 14:01 yepes

Same here

Thanks for the great library 👍

maelfrize avatar Jan 21 '17 19:01 maelfrize

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) {

Kelderic avatar Aug 03 '17 14:08 Kelderic

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!

spoji avatar Nov 07 '17 15:11 spoji

Unfortunately, I'm pretty sure that this project has been abandoned, @spoji.

Kelderic avatar Nov 07 '17 15:11 Kelderic

Yeah... Last updates were 3 years ago. The pull request should at least help others having the same issue.

spoji avatar Nov 07 '17 15:11 spoji

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.

spoji avatar Nov 07 '17 18:11 spoji