inossidabile / grunt-ftpush

Grunt task for incremental code deployment over ftp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when trying to upload a new directory

kewalter opened this issue · comments

I'm receiving an error when trying to upload a directory that doesn't yet exist on the remote ftp server.

Error: read ECONNRESET
    at errnoException (net.js:901:11)
    at TCP.onread (net.js:556:19)

I'm using filezilla on the remote and in it's log it's fine until ftpush tries to touch a directory that doesn't exists. Filezilla then logs:

list dir/dir
550 Directory not found.
disconnected

Instead of creating the directory, ftpush is throwing the error.

I'm using ftpush v0.3.3

Did you try simple mode?

Yes, i've tried simple mode on/off as well useList on/off. Seems like filezilla isn't giving it permission to create a directory and closes it. However, ftp works fine with any other client as well as https://github.com/zonak/grunt-ftp-deploy

That's weird. In simple mode it works absolutely equal to grunt-ftp-deploy :(.

well... Roughly equal :)

It used to work for me and for reason stopped and I can't track down why. I'm think I'm going to blame this one on something in my system/setup as it works fine for another developer here.