How would I go about copying a robots.txt file from a webserver
and then displaying that information?

robots.txt usaly is not protected
just use www.thesite.com/robots.txtin your brouwser

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.