Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] how to download any file from RTC server to local

 Hi Team, 

we want to download the source file from rtc server to our local machine. 

can anyone help us out for the same. 

Thanks,
Sumit

-1 votes

Comments

Can you be more specific about how you want to do this? You can download individual files through the web UI but it's not clear if you want to access files some other way.

Are you not using any of the source control clients (e.g. Eclipse, Visual Studio, or shell client)?  When you create your repository workspace and specify your local workspace/sandbox, that file would get loaded to your local machine. 

 i need java code for downloading any file from RTC. Somewhere i m seeing IWorkspaceHandle need to be passed to get Workspace connection.psb for more detail  but what should be assigned to this IWorkspacehandle

 ITeamRepository repo = ...;
   IWorkspaceHandle workspaceHandle = ...;
   IVersionableHandle versionableHandle = ...;
   //fetch workspace from IItemManager
   IItemManager itemManager = repo.itemManager();
   IWorkspace workspace = (IWorkspace) itemManager.fetchCompleteItem(workspaceHandle, monitor);
   //fetch workspace connection from IWorkspaceManager
   IWorkspaceManager workspaceManager = SCMPlatform.getWorkspaceManager(repo);
   IWorkspaceConnection workspaceConnection = workspaceManager.getWorkspaceConnection(workspaceHandle, monitor);
            


The question has been closed for the following reason: "Duplicate Question https://jazz.net/forum/questions/157916/download-file-process-using-java-api I assume this question is the same. There is no need to open a question twice." by tmok Jul 10 '14, 8:40 a.m.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 383

Question asked: Jul 10 '14, 8:14 a.m.

Question was seen: 6,186 times

Last updated: Jul 10 '14, 8:48 a.m.

Confirmation Cancel Confirm