While googleing for an answer I came across this thread...
http://www.daniweb.com/forums/thread55451.html
...which is pretty much my question, but I would be doing it in web directories. Would I need to connect with something like urlib2 and then try the os and glob examples.

Maybe an example please? :D

Thanks.

Yes, and no. You will need to connect "somehow" to the web site; then you will need to do something that is specific to the connection and the site to scan for directories (most web connections are made to a server that serves documents, so there is no direct comparison to a directory). urllib2 is one module that might be helpful to make the initial connection, and to deal with the web server thereafter.

A proper build server will no just give access to its directories. There must e some checks here and there. You will also need the ftplib.

I think thats your best hit.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.