connect to a remote web server upload data from Python using ssh and scp

2005-11-04 Thread Swarna Pulavarty
Hi all, I need to upload data ( text image data ) to a remote web server from python. I came to know that i could do it using ssh and scp.but am not sure of how to do it. I don'twant to use CGI for that . Can anyone help mehow to do it, and where i can get a good tutorial for doing

generating a click event without actually clicking the button

2005-11-04 Thread Swarna Pulavarty
Hi all, I need to retreive data from a website. For this, the user needs to click a button to get the actual data. How can i do this programatically in python, wihtout any user involvement, generating a button clickevent and retreiving the data. Any help is appreciated ! Swarna. Enjoy

How to Handle exceptions using OpenerDirector

2005-09-20 Thread swarna pulavarty
Hi all, I am trying to figure out a way to handle exceptions for error code 4xx , and 5xx 's . I came to know that these can be handled using OpenerDirector class and urllib2 module in Python. I could'ntfind the right syntax or examples ofhow to usethese Handlers. Any help is greatly

retrieve data using FTP in Python

2005-09-14 Thread swarna pulavarty
Hi all, I am new to this Python group and to Python . I need to retrieve data from an arbitrary URL and save it to a file. Can anyone tell me how to retrieve "any" data using FTP modules in Python ? And also, Can you suggest me some books and online references to get familiar with Python and

retrieve data using FTP in Python

2005-09-13 Thread swarna pulavarty
Hi all, I am new to this Python group and to Python . I need to retrieve data from an arbitrary URL and save it to a file. Can anyone tell me how to retrieve "any" data using FTP modules in Python ? And also, Can you suggest me some books and online references to get familiar with Python and