Hi Nitin,
Python has its own set of classes and methods to fetch,send HTTP/FTP and
other protocol related data. First you make sure that on which port/protocol
your communications (send/receive) will be done. Then choose the appropriate
classes and so on. Let us know if you face any issues.
Hope it helps.
- Sujit