Re: [BangPypers] hook file download

2012-09-07 Thread steve
Hi, On Friday 07 September 2012 03:59 PM, Nitin Kumar wrote: Say for example: from a site http://www.winzip.com/downwz.htm we click "download" button. So i file download will start. but I want to do some other activities before file start to download. so is there a way to pause start of downlo

Re: [BangPypers] hook file download

2012-09-07 Thread Gora Mohanty
On 7 September 2012 15:59, Nitin Kumar wrote: > Say for example: > > from a site http://www.winzip.com/downwz.htm we click "download" button. > So i file download will start. > but I want to do some other activities before file start to download. so is > there a way to pause start of download do

Re: [BangPypers] hook file download

2012-09-07 Thread Palak Mathur
So, you mean you want to halt the download from some site (that you do not control), do some stuff and then download begins? Regards, Palak Mathur http://palakmathur.wordpress.com http://vicharvahak.wordpress.com http://aatmiyata.wordpress.com http://palakmathur.blogspot.com On Fri, Sep 7, 2012

Re: [BangPypers] hook file download

2012-09-07 Thread Nitin Kumar
Say for example: from a site http://www.winzip.com/downwz.htm we click "download" button. So i file download will start. but I want to do some other activities before file start to download. so is there a way to pause start of download do some activity and then start the download using python. H

Re: [BangPypers] hook file download

2012-09-07 Thread chetan giridhar
Do you want to monitor system events or processes? In general, ctypes.windll.user32.SetWindowsHookExA or ctypes.windll.kernel32 help, but I would suggest using lower level languages like C/C++.. On Fri, Sep 7, 2012 at 3:42 PM, Noufal Ibrahim wrote: > Nitin Kumar writes: > > > Hi All, > > > > I

Re: [BangPypers] hook file download

2012-09-07 Thread Noufal Ibrahim
Nitin Kumar writes: > Hi All, > > I want to get a control to python before a file start downloading using any > explorer or download manager. Can you elaborate a little? Are you talking about the file being accessed on a server by a remote client? Where is your program running? > Do we have any

[BangPypers] hook file download

2012-09-07 Thread Nitin Kumar
Hi All, I want to get a control to python before a file start downloading using any explorer or download manager. Do we have any module or sample code to do the same. -- Nitin K ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/m