Need script to download file from a server using python script

Terry Reedy tjreedy at
Fri Jan 23 23:30:11 CET 2009

Murali Murali wrote:
> Hi,
> I am fairly new to python and i am looking for a python script to 
> download file(latest build) from the server. But, the build name changes 
> daily. For Ex:  today the build URL will be 
> "http://mybuilds/myapp_1234.exe" and tomorrow it will be  
> "http://myserver/mybuilds/myapp_3456.exe".  So i need a script which 
> downloads the latest build without any knowledge of build number.

Any server that dishes out files with changing names should be using the 
ftp protocol that is meant for such things.  It includes, I believe, a 
directory request that lets clients discover filenames.

More information about the Python-list mailing list