I'm encountering an odd directory-creation issue, using 0.1.5.
When remotePath ends in a forward-slash (/), the entirety of that directory structure must exist. remotePath: /each/directory/here/must/exist/
However, when remotePath ends just with the directory name, eg /dir/another_dir/also_a_dir (note no trailing forward-slash), gulp-sftp only requires dir and another_dir to exist; it will create also_a_dir and then place the piped files in there (in their own subdirs, if any).
I'm encountering an odd directory-creation issue, using 0.1.5.
When
remotePath
ends in a forward-slash (/
), the entirety of that directory structure must exist.remotePath: /each/directory/here/must/exist/
However, when
remotePath
ends just with the directory name, eg/dir/another_dir/also_a_dir
(note no trailing forward-slash),gulp-sftp
only requiresdir
andanother_dir
to exist; it will createalso_a_dir
and then place the piped files in there (in their own subdirs, if any).Not a big issue; just wanted to point it out.