Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6815635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:49:51+00:00 2026-05-26T20:49:51+00:00

I have some Test, Security, Project Management and some other word documents in TFS2010

  • 0

I have some Test, Security, Project Management and some other word documents in TFS2010 source control under Documents folder. Does anybody know how to access them in order to download and copy to a local path?

Those files are not physically under $/… folder, though they have a Sharepoint web server path like: “http://myServer/sites/MyProyect/Test/Tests_P13_F00120.doc“. I have tried to use DownloadFiles activity without success due to it needs a path which starts with $/. Any suggestion please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:49:51+00:00Added an answer on May 26, 2026 at 8:49 pm

    DownloadFiles is not an activity you can make use of, it’s meant to deal with files residing in Source control.

    Instead, you need to establish a connection to the Sharepoint Copy service of your TFS, which resides at http://<Site>/_vti_bin/Copy.asmx. We did this by adding a Service Reference in our build solution.

    We then implemented a build activity that does basically the opposite of what you are after: during TFS build it uploads documents into Sharepoint.

    The instantiation looks like this:

    BasicHttpBinding binding = new BasicHttpBinding();
    binding.Security.Mode = BasicHttpSecurityMode.TransportCredentialOnly;
    binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Ntlm;
    binding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
    binding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName;
    
    EndpointAddress endpointAddress = new EndpointAddress("http://<Site>/_vti_bin/Copy.asmx");
    
    CopySoapClient copyService = new CopySoapClient(binding,endpointAddress);
    

    This copy service exposes a GetItem method, this is the one you should probably be invoking.

    I ‘m not aware if this GetItem is capable of supporting a http://myServer/sites/MyProject/Test/*.doc kind of thing

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to test some things on a project which has been developed by
i have some file test.php <?PHP $config_key_security = test; ?> and i have some
I have some test cases. The test cases rely on data which takes time
I have some useful wpf buttons to test some functionality. It would be good
I have some kind of test data and want to create a unit test
I have some code that attempts to test whether my application is running with
I have some written a number of unit tests that test a wrapper around
I have some .csv files which I'm using as part of a test bench.
I have some code in my error handler I need to test against a
I have some basic PHP code: $raceramps56[short] = My Test Product; $leftMenu = '<div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.