HOWTO: Download a fresh copy of a missing or corrupted module/image/file

Last modified: August 27, 2009 - 21:51

Thanks to revision control, you can download any file from any version of Drupal from 3.0 onwards by using the ViewCVS server.

  1. Go to http://cvs.drupal.org/ . You should see something looking similar to a folder listing.
  2. Click on the drupal folder.
  3. Click the Select Branch dropdown next to Show files using tag: and select the appropriate DRUPAL-X-Y-Z tag in the Non-branch tags section. The file index will change to a view of the files from that release.
  4. Browse to the appropriate folder. (Ignore any empty folders. Due to the way CVS stores information, you may come across empty folders that didn't actually exist for your release.)
  5. Click the dotted number in the Rev. column for the file you need. This will show a preview of the file.
  6. Right click the download link and choose Save Target As....
  7. Make sure the file type is set to All Files. Browse to the desired location on your disk and press Save.

You should now have a fresh copy of the missing or corrupted file.

 
 

Drupal is a registered trademark of Dries Buytaert.