Can you reliably reproduce this?  Can you throw in some print statements to figure out what the file it's failing on is?  We've gotten reports like this several times lately, but with insufficient info to debug it properly.  If you can help us debug it, we can fix it.

Thanks,
Matt


On Thu, Nov 28, 2013 at 11:47 AM, Javi <javiersivack@gmail.com> wrote:
Problem: OSError: [Errno 20] Not a directory
S3cmd:   1.5.0-alpha3

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


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk