Msg#: 3796546 posted 1:44 pm on Nov 28, 2008 (gmt 0)
No one could possibly know if the code was correct, because we don't know the structure of your site, nor do we know all the URLs that you want to allow and all the URLs that you want to block.
Google WebmasterTools can give you some reports that might be helpful - but it is down to you to interpret what they say.
However, you must put the file in the root of the domain that it needs to apply to, the disallow URLs must contain paths and filenames and must NOT include domain names (unless that's actually the name of a folder).
You might not need to end the disallow statement with the trailing slash, because having the trailing slash in the disallow means that /folder isn't blocked. That may, or may not, be a problem.