To clearify, the should be no need to create any dirs at all.
The is no file at the destinaton in the beginning, but are when the scripts has run.
$ grunt ftpscript
Running "ftpscript:main" (ftpscript) task
Connected to ftp.mysite.com.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 18:04. Server port: 21.
220-This is a private system - No anonymous login
>> 220 You will be disconnected after 15 minutes of inactivity.
>> 550 Can't create directory: File exists
>> 550 Can't create directory: File exists
>> 550 Can't create directory: File exists
local: dist/stuff.min.css remote: public_html/mysite.com/assets/stuff.min.css
226-File successfully transferred
>> 226 4.895 seconds (measured here), 28.54 Kbytes per second
221-Goodbye. You uploaded 140 and downloaded 0 kbytes.
>> 221 Logout.
To clearify, the should be no need to create any dirs at all.
The is no file at the destinaton in the beginning, but are when the scripts has run.