It looks like Zend Studio 9 “Remote Server Support” tool just ignores folders, beginning with a dot. And I hadn’t found I it’s possible to change this behavior.
Example:
-
Suppose we’ve got the following set of files on a local Win7 x64 machine:
a/ b/ b_file1 .c1/ c_file1 -
Create a “PHP Project from existing directory” (directory = “a”)
-
Set up the connection (in Project properties -> Remote Server Support)
-
Agree to upload data to the server.
Results:
- b_file1 is uploaded OK.
- c_file1 and .c1 are missing.
- moreover(bonus): if one create a/b/.c2 folder, it would be uploaded, but a/b/.c2/c2_file would not.
Question:
How do I upload c_file and .c1 folder too?
PS:
Just in case my description wasn’t accurate enough, here’s 3.5 minutes long screenvideo (exactly the same as “Example” above).
I’ve found a couple of ways to sync this folders anyway, regardless of “Remote Server Support”
Here’s an official Zend’s article on how to do this with rsync
Here’s a tutorial on how to use another, more advanced external tool – unison, which can be “integrated” too.