Topic "How can I access files in ClearCase?"

Author Message
Guest




Hi,

I want to access the files in ClearCase on Linux platform by WinSCP.

I tried to use command line "cleartool setview my_viewname", but it doesn't work.

Is there any resolvent?

thanks!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Quote:
I tried to use command line "cleartool setview my_viewname", but it doesn't work.

Any error message? Or what does not work? What protocol are you using? I guess you would have to switch to SCP to make this work.
_________________
Martin Prikryl
Guest




Tried with both SFTP and SCP, its not working.Any help pls.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Retry: Any error message? Or what does not work?
_________________
Martin Prikryl
Guest




prikryl wrote:
Retry: Any error message? Or what does not work?


Invoking the clearcase in the script as "call cleartool setview my_viewname", when this line is executed; after opening a new session following error is encountered:
"Host has not answered for more than 15 seconds. Still waiting..."
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
That's probably because the command start new shell and WinSCP waits for it to complete. What never happens.
You may try following command, which may fool WinSCP to think that the command has finished. But it would work, only if your command does not output anything.
Code:
echo "WinSCP: this is end-of-file:0"; call cleartool setview my_viewname

Also your need to use SCP, otherwise the command will have no effect.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License