Hi all ,
can any one tell me how to run a script within a sftp session. let me tell u in bit clear way :
After I connected to sftp location , cd ing to some directory then I need to execute a one script. Please tell me if u have any idea on this .
Looking forward to your reply guys
you can execute commands in a local shell by typing !<command> or by typing ! on its own to escape to a local shell.
the only other way is to have a script whcih performs the commands you want on the remote host and send the information back to you, just use ssh or telnet to the box and execute .