Using s3cmd sync I get an error:

kaare@ubuntu:~/Dokumenter$ s3cmd sync s3://mybucket/Documents/ ~/Dokumenter/

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: OSError: [Errno 21] Is a directory: '/home/kaare/Dokumenter/'
S3cmd:   0.9.9.91

Traceback (most recent call last):
  File "/usr/bin/s3cmd", line 1736, in <module>
    main()
  File "/usr/bin/s3cmd", line 1681, in main
    cmd_func(args)
  File "/usr/bin/s3cmd", line 1070, in cmd_sync
    return cmd_sync_remote2local(args)
  File "/usr/bin/s3cmd", line 889, in cmd_sync_remote2local
    raise e
OSError: [Errno 21] Is a directory: '/home/kaare/Dokumenter/'

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
    Please report the above lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The strange thing is I don't get the same error using "get --recursive" instead of sync.


Am running Ubuntu 10.04.

Regards,
Kåre G.