title: how to download a file using gsutil
body: <p>I'm starting to use gsutil on windows xp.I have Python 2.7 in c:\Python27.  I have setup and can run Python scripts including gsutil in my Windows PowerShell ide succesfully to list my files. EG gsutil ls -L gs://mybucket shows my files present and correct. The developers guide suggests the following example to download a file from storage</p>
  
  <pre><code>    gsutil cp gs://cats/*.jpg file://pets/
  </code></pre>
  
  <p>I dont understand the syntax here. I have a file in storage gs://pussy/debug.txt and I want to download it to c:\test\debug.txt
  How should I write this command.
  I tried</p>
  
  <pre><code>     gsutil cp gs://pussy/debug.txt file c:\test\
  </code></pre>
  
  <p>but it gives me the following error</p>
  
  <pre><code>    At line:1 char:7
      + gsutil &lt;&lt;&lt;&lt;  cp gs://pussy/debug.txt file c:\test\
      + CategoryInfo          : NotSpecified: (Copying gs://pussy/debug.txt...:S 
      tring) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
  
      Traceback (most recent call last):
      File "c:\gsutil\gsutil.py", line 88, in &lt;module&gt;
      sys.exit(gslib.__main__.main())
      File "c:\gsutil\gslib\__main__.py", line 199, in main
      parallel_operations)
      File "c:\gsutil\gslib\__main__.py", line 287, in _RunNamedCommandAndHandleExc
      eptions
      parallel_operations)
      File "c:\gsutil\gslib\command_runner.py", line 188, in RunNamedCommand
      return command_inst.RunCommand()
      File "c:\gsutil\gslib\commands\cp.py", line 2273, in RunCommand
      shared_attrs)
      File "c:\gsutil\gslib\command.py", line 803, in Apply
      use_thr_exc_handler=ignore_subprocess_failures)
      File "c:\gsutil\gslib\command.py", line 908, in _ApplyThreads
      return_value = func(args)
      File "c:\gsutil\gslib\commands\cp.py", line 2143, in _CopyFunc
      self._PerformCopy(exp_src_uri, dst_uri))
      File "c:\gsutil\gslib\commands\cp.py", line 1560, in _PerformCopy
      src_key = src_uri.get_key(False, download_headers)
      File "c:\gsutil\third_party\boto\boto\storage_uri.py", line 189, in get_key
      key = bucket.get_key(self.object_name, headers, version_id)
      File "c:\gsutil\third_party\boto\boto\file\bucket.py", line 92, in get_key
      fp = open(key_name, 'rb')
      IOError: [Errno 2] No such file or directory: u'file'
  </code></pre>
  
  <p>Can anyone help ?</p>