[BangPypers] how to read remote uploads

Anand Balachandran Pillai abpillai at gmail.com
Mon Oct 18 14:31:10 CEST 2010


On Mon, Oct 18, 2010 at 5:43 PM, Kenneth Gonsalves <lawgon at au-kbc.org>wrote:

> On Mon, 2010-10-18 at 17:41 +0530, Noufal Ibrahim wrote:
> > >From your description, it sounds like a you need a simple program
> > that
> > listens on this port which will accept anything that comes in, process
> > it and then send it to your actual web application. So, yes. this is a
> > program that uses a socket.
> >
> > This is a simple proxy that will listen on a local port and then use
> > some HTTP client library to send it to the web application.
> >
> > The pages in the Python docs which discuss 'SocketServer' has a small
> > example which you can alter to suit your needs I think.
>
> thanks - will try it out
>

Or just use tcpdump as

$ sudo tcpdump  -A 'port 9000'

on the machine where you want to capture the data.


> --
> regards
> Kenneth Gonsalves
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
--Anand


More information about the BangPypers mailing list