Open nine-2-five opened 8 years ago
If anyone else bumps into this, one solution would be to use the first upload parameter as an array of both all files and all dotfiles glob lookups:
ftpclient.upload([ path+'/**', path + '/.**' ])
Note the dot before ** in the second array element, this array will combine all files under path and all dot files under path.
Upload ignores dot files (.htaccess) when called like this: