Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

max

Reply

Works like magic now.. :P

Thanks
Max
max

Re: Reply

Just in case you didnt get the mail

vsmartybrain@yahoo.com


Thanks
Max
martin

Re: Reply

max wrote:

I have already tried plink . Doesnt work ...
I am trying to call plink / putty from a dll. Both dont get invoked at all , when I call them using ShellExecute .

Hmm, that's strange. And with WinSCP it works?

And most important ...When are you planning the next version release ?

Send me an mail and I'll send you link to new version straight away.
max

Reply

Hi,

I have already tried plink . Doesnt work ...
I am trying to call plink / putty from a dll. Both dont get invoked at all , when I call them using ShellExecute .

Here's the code that Im using
---------------------------------------------------------------------------------
wsprintf( param, "-ssh -load \"%s\" -l \"%s\" -pw \"%s\" -m \"%s-ssh.txt\"" , appbase , sshusr, sshpass, appbase );
wsprintf(log , "Parameter -> %s \n" , param );
PK_log ( log );


ShellExecute( NULL , "open", "putty.exe", param, "" , SW_HIDE);
---------------------------------------------------------------------------------


My dll calls cmd.exe but doesnt call putty.exe or plink .exe :?: . I had hence rested hopes on winscp. Do you know of any other tools which do this ?

And most important ...When are you planning the next version release ?

Thanks
Max
martin

Re: Invoke remote script

Next version will allow this. But anyway SFTP/SCP client is not the proper tool for this kind of task. Consider using plink from Putty package.
max

Invoke remote script

Hi,

I have a script (etudata1) residing on my mainframe system. I want to ssh to the mainframe and invoke this script. Is there a way to achieve this using the command line

Following are the commands that I am using
winscp> open 172.27.192.81
User name: nussdet1
Initialisation...
Searching for host...
Connecting to host...
Authenticating...
Using username "nussdet1".
'nussdet1@172.27.192.81' session password:
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] nussdet1@172.27.192.81
winscp> cd /web/webdept/nusss/dev
/web/webdept/nusss/dev
winscp> ./etudata1 TSSET03 LIST NVASHOME
Unknown command './etudata1'.

Thanks
Max