php - How can I use Phing to SCP directory with symlinks inside it? -


i'm playing around phing, , i've setup task this:

<scp .... >     <fileset dir="/my/dir">         <include name="**" />     </fileset> </scp> 

but fails when gets symlink within directory (the symlink relative symlink pointing @ directory inside /my/dir structure.

how can have phing transfer these symbolic links? or should use method?

not sure expected behaviour is. whether want transfer actual symbolic link or dereferenced file. might not problem of actual scp task rather of fileset.

have @ http://phing.info/docs/guide/stable/chapters/appendixes/appendixd-coretypes.html#fileset , try playing around expandsymboliclinks flag.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -