asp.net core - How to copy artifacts folder to ftp folder in TFS? -


i'm trying publish artifacts , it's other folders files well.i've read docs file provide microsoft here , used them none of them worked me. i' tried file patterns

** =>which copied root files ftp  **\* => copied sub folders file ftp's root directory. 

what i've wanted copy folder folder in ftp aswell.

-artifacts                             ftp  --a.dll                                --a.dll  --subfolder                            --subfolder  ---subfolder_1.dll                     ---subfolder_1.dll  what's happening ftp --a.dll --subfolder_1.dll 

it's copying sub directories file root directory of ftp. i've use curl , ftp both giving me same result. how can achieve folder folder copy in tfs 2017.

it's not related file patterns, upload entire folder content recursively, specify **.

all have checking preserve file paths in advanced option.

if selected, relative local directory structure recreated under remote directory files uploaded. otherwise, files uploaded directly remote directory without creating additional subdirectories.

for example, suppose source folder is: /home/user/source/ , contains file: foo/bar/foobar.txt, , remote directory is: /uploads/. if selected, file uploaded to: /uploads/foo/bar/foobar.txt. otherwise, to: /uploads/foobar.txt.

enter image description here


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -