Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

You have so far never mentioned that the command may ask for anything. You cannot use such commands with WinSCP. You solution with "message box" is not feasible. WinSCP can hardly understand the meaning of what the command prints. So it cannot find the "question" in the text, nor know what answers (buttons) it may offer.

Does the "timeout" message show only for the commands that ask for something or does it show for any command?

Don't the "ci" command have some switch to override the "unchanged file" warning?
grobyc17

that's too bad for me... :(

maybe it's better to pop up
what the message show like in the putty
and let the user decide what should be done...

Ex:
in checking out file
co -l ufintXXX.sqr

putty message to win message box:

-----------------------------------------
|Check Out File |
-----------------------------------------
| ufintXXX.sqr,v --> ufintXXX.sqr |
| revision 1.1 (locked) |
| done |
| |
| [ OK ] |
-----------------------------------------
User interaction: click [ OK ]


in checking in file
ci -u ufintXXX.sqr

putty message to win message box
--------------------------------------------------------------
|Check Out File |
--------------------------------------------------------------
| |
|ufintXXX.sqr,v <-- ufintXXX.sqr |
|new revision: 1.2; previous revision: 1.1 |
|File ufintXXX.sqr is unchanged with respect to revision 1.1 |
|checkin anyway? |
| [ YES ] [ NO ] |
--------------------------------------------------------------


something like that....

thanks anyway...
grobyc17
martin

Hmm, that's pity. Strangely it works for me, at least for simple commands. It may be also caused by different shell. I'm using bash.
grobyc17

I've tried your resolution but I've got an error message:
"Host has not answered for more than 15 seconds. Still Waiting..."
...
[Abort]
martin

Re: checkin/out error

Have you tried to redirect the stderr to /dev/null?
co -l "!" 2> /dev/null
grobyc17

checkin/out error

yup, you're right...
i'm really looking forward on the next version...
thanks and keep up the good work!!!
martin

Re: checkin/out error

I belive that the command is actually executed correctly. Is it?

WinSCP just thinks that it has not, as the command prints message on error output. I may try to solve this in the next version.
grobyc17

checkin/out error

my command for checkout = co -l "!"
my command for checkin = ci -u "!"

my typo error
grobyc17

Checkin/out error

Here's the error when I try to checkout the file
using the command co -u "!"

<invalid hyperlink removed by admin>

but in PuTTy the command ended successfully...

also in the when I try to checkin the file

<invalid hyperlink removed by admin>

please help me...
thank you so much in advanced
martin

Re: Checkin and checkout command

Hmm, useful piece of information. Please read How to ask for support.
Guest

Checkin and checkout command

Im receiving an error message when trying to run a custom command for checkin /checkout of files