Back to index

plone3  3.1.7
Classes | Namespaces | Functions | Variables
upload.py File Reference

Go to the source code of this file.

Classes

class  upload.FakeResponse

Namespaces

namespace  upload

Functions

def upload.upload
def upload.getText

Variables

tuple upload.start = time.time()
string upload.usage = "usage: %prog [options] server[:port] /path/to/col/ [atxml files...]"
tuple upload.parser = OptionParser(usage=usage)
string upload.help = "WebDAV user name"
string upload.default = "admin"
list upload.files = args[2:]
list upload.server = args[0]
list upload.pathstarts = args[1]
tuple upload.conn = davlib.DAV(server, timeout=300)
list upload.bad = []
int upload.count = 0
tuple upload.metafile = open(file)
tuple upload.metacontent = metafile.read()
 upload.name = metafile.name
list upload.id = fidname[:-len(options.atxmlend)]
tuple upload.f = open(fid+options.contentend)
tuple upload.content = f.read()
tuple upload.dom = minidom.parseString(metacontent)
list upload.field
string upload.path = "%s%s%s"
 upload.errormeta = None
tuple upload.response = upload(metacontent, conn, path)
 upload.errorcontent = None
tuple upload.end = time.time()

Class Documentation

class upload::FakeResponse

Definition at line 43 of file upload.py.