Hi All,

 I am new to web2py. I am using paramiko with web2py to execute some 
commands on a remote server(linux) and display it on the web page. So i 
have a controller which has form with fields hostname, username, password 
for the server to be connected. If the form is accepted it is redirected to 
another page (for example viewssh.html) . viewssh.html has the code to send 
command and get the output and display (using beautify). My problem is 
redirection waits until all the commands in viewssh.html executed, so it 
displays all the ouput of all the commands at once. Say I am sending the 
commands 'dmesg' , getting the output and then BEAUTIFY the output, and 
then send 'lspci' and BEAUTIFY and some other commands similarly. How can 
the view display the output of each command as it gets executed and 
displayed without waitting for all the commands to get executed?

THANKS IN ADVANCE.

~Shamimur Rahman

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to