# sudo /usr/local/bin/s3cmd sync s3://zarkoh-test/ ./
s3://zarkoh-test/Application Files/ -> <fdopen>  [1 of 1524]
 0 of 0     0% in    0s     0.00 B/s  done

    An unexpected error has occurred.
  Please report the following lines to:

Problem: OSError: [Errno 20] Not a directory
S3cmd:   1.5.0-alpha3

Traceback (most recent call last):
  File "/usr/local/bin/s3cmd", line 2094, in <module>
  File "/usr/local/bin/s3cmd", line 2034, in main
  File "/usr/local/bin/s3cmd", line 1193, in cmd_sync
    return cmd_sync_remote2local(args)
  File "/usr/local/bin/s3cmd", line 891, in cmd_sync_remote2local
    seq, total_size = _download(remote_list, seq, remote_count + update_count, total_size, dir_cache)
  File "/usr/local/bin/s3cmd", line 850, in _download
    raise e
OSError: [Errno 20] Not a directory

Zarko Hristovski — Software Engineer at Telenor Comoyo