示例#1
0
def remove(gridfile, se = None):
    """ Remove a file from a storage element """
    gr = Grid()
    return gr.getData().remove(gridfile, gr.getVo(), se)
示例#2
0
def download(gridfile, localfile):
    """ Doenload a file from a storage element """
    gr = Grid()
    return gr.getData().download(gridfile, localfile, gr.getVo())
示例#3
0
def replicate(gridfile, se):
    """ Replicate (Copy) a file to the storage element """
    gr = Grid()
    return gr.getData().replicate(gridfile, se, gr.getVo())
示例#4
0
def upload(localfile, gridfile, se):
    """ Upload a file to a storage element """
    gr = Grid()
    return gr.getData().upload(localfile, gridfile, gr.getVo(), se)