Short description

large file transfers (uploads/downloads) are currently not very well supported by MoinMoin for two reasons:

An applet would be great for that purpose.

You don't need an applet just use xmlrpc. Or you can write one based on that.

   1 #!/usr/bin/env python
   2 # -*- coding: iso-8859-1 -*-
   3 import xmlrpclib
   4 name = "TestUser"
   5 password = "secret"
   6 wikiurl = "http://localhost:8080"
   7 homewiki = xmlrpclib.ServerProxy(wikiurl + "?action=xmlrpc2",
   8                                          allow_none=True)
   9 mc = xmlrpclib.MultiCall(homewiki)
  10 auth_token = homewiki.getAuthToken(name, password)
  11 mc.applyAuthToken(auth_token)
  12 attachname = 'beispiel.txt'
  13 text = file(attachname, 'rb+').read()
  14 data = xmlrpclib.Binary(text)
  15 mc.putAttachment(pagename, attachname, data)
  16 result = mc()


CategoryFeatureRejected

MoinMoin: FeatureRequests/FileTransferManager (last edited 2008-03-18 19:18:04 by ReimarBauer)