Robert-W / grunt-ftp-push

Deploy files to an FTP server as part of your Grunt workflow.
MIT License
39 stars 14 forks source link

Upload more then one source #57

Open olton opened 6 years ago

olton commented 6 years ago

Hi!

ftp_push: {
            getmetroui: {
                options: {
                    authKey: "getmetroui",
                    host: "ftp_host",
                    dest: "dest/",
                    port: 21,
                    incrementalUpdates: false,
                    debug: true
                },
                files: [
                    {
                        expand: true,
                        cwd: "docs",
                        src: ['**/*']
                    },{
                        expand: true,
                        cwd: "adsense",
                        src: ['**/*']
                    }
                ]
            }
        }

Deployed only files stored in docs. Files from adsense folder not copied. How to correct deploy multiple sources? Folders docs and adsense place on one level.

Thanks.