Beispiel #1
0
def createfolder():
    id = bottle.request.forms.shellid
    foldername = bottle.request.forms.foldername
    path = bottle.request.forms.path
    shellinfo = get_shell_from_id(id)
    shell = Shell(shellinfo['url'], shellinfo['pwd'], shellinfo['plugin'],
                  shellinfo['method'], shellinfo['coding'])
    return shell.mkdir(foldername, path)