[Cyberduck-trac] [Cyberduck] #5350: .CDN_ACCESS_LOGS Folder listing is empty
Cyberduck
trac at trac.cyberduck.ch
Wed Oct 20 11:23:58 CEST 2010
#5350: .CDN_ACCESS_LOGS Folder listing is empty
----------------------------------------------------------------------------------------------+
Reporter: https://www.google.com/accounts/o8/id?id=aitoawnacazfrndodbxlrfivovycxnb3ythoids | Owner: dkocher
Type: defect | Status: new
Priority: normal | Milestone:
Component: cloudfiles | Version: 3.6.1
Severity: normal | Keywords:
Platform: Mac OS X 10.6 | Architecture: Intel
----------------------------------------------------------------------------------------------+
CloudFiles Web interface shows heaps of files in this folder. I have
successfully downloaded them using the cloudfiles-python module ... but
CyberDuck shows this folder as being empty, despite the HTTP transcript
saying there are 695 objects in the folder.
Screenshots attached.
FWIW .. here is some ropey python code that downloads the contents of
CDN_ACCESS_LOGS ..
{{{#!python
#mainline
ofolder = ".CDN_ACCESS_LOGS"
try:
conn = cloudfiles.get_connection(username, apikey)
container = conn.get_container(ofolder)
lst = container.list_objects()
for x in lst:
obj = container.get_object(x)
bn = os.path.split(x)
savename = './cdnlogs/'+bn[1]
if os.path.exists(savename):
continue
obj.save_to_filename(savename)
print bn[1]+'\n'
except cloudfiles.errors.ResponseError, err:
print ifile, ofolder, err
}}}
--
Ticket URL: <http://trac.cyberduck.ch/ticket/5350>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list