gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

Empty folders #42

Closed pyrsmk closed 8 years ago

pyrsmk commented 8 years ago

Gulp-sftp seems to not upload empty directories (I'm uploading cache/ and uploads/ folders).

gtg092x commented 8 years ago

I'd recommend adding an empty and hidden file like .ftpkeep - if that doesn't work, please post an update

pyrsmk commented 8 years ago

I'm on windows, I can't simply do it ^^

kaosmos commented 8 years ago

actually you can :) to create a file without name on Windows simply create a file named .whatnameyouwant. e.g. .htacess. and you'll get .htaccess

pyrsmk commented 8 years ago

I actually tried before saying it :p It requires me to enter a filename.

kaosmos commented 8 years ago

I'm sure you tried but still it actually works. Let me show it (it is an Italian Windows but it should be clear enough):

filename without name in Windows

One AniGIF worths thousands of comments ;)

pyrsmk commented 8 years ago

Ah! Didn't saw that dot at the end of the file, thanks!

kaosmos commented 8 years ago

you are welcome!

Matteo Nicoletti Il 09/nov/2015 09:25, "Aurélien Delogu" notifications@github.com ha scritto:

Ah! Didn't saw that dot at the end of the file, thanks!

— Reply to this email directly or view it on GitHub https://github.com/gtg092x/gulp-sftp/issues/42#issuecomment-154995212.